op_pe_utils.h File Reference

Definitions and prototypes for tools using Linux Performance Events Subsystem. More...

#include <dirent.h>
#include <vector>
#include "op_cpu_type.h"
Include dependency graph for op_pe_utils.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  op_pe_utils

Defines

#define OP_APPNAME_LEN   1024
#define OP_MAX_EVENTS   24
#define PPC64_ARCH   (HAVE_LIBPFM) && ((defined(__powerpc__) || defined(__powerpc64__)))

Functions

int op_pe_utils::op_check_perf_events_cap (bool use_cpu_minus_one)
int op_pe_utils::op_get_sys_value (const char *filename)
int op_pe_utils::op_get_cpu_for_perf_events_cap (void)
int op_pe_utils::op_validate_app_name (char **app, char **save_appname)
void op_pe_utils::op_get_default_event (void)
void op_pe_utils::op_process_events_list (std::vector< std::string > &passed_evts)
std::set< int > op_pe_utils::op_get_available_cpus (int max_num_cpus)

Detailed Description

Definitions and prototypes for tools using Linux Performance Events Subsystem.

Remarks:
Copyright 2013 OProfile authors
Read the file COPYING

Created on: May 21, 2013

Author:
Maynard Johnson (C) Copyright IBM Corp. 2013

Define Documentation

#define OP_APPNAME_LEN   1024
#define OP_MAX_EVENTS   24
#define PPC64_ARCH   (HAVE_LIBPFM) && ((defined(__powerpc__) || defined(__powerpc64__)))

Generated on 29 Jul 2013 for oprofile by  doxygen 1.6.1