Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations | Functions
pmu.h File Reference
#include <linux/bitops.h>
#include <linux/perf_event.h>

Go to the source code of this file.

Data Structures

struct  perf_pmu__format
 
struct  perf_pmu__alias
 
struct  perf_pmu
 

Macros

#define PERF_PMU_FORMAT_BITS   64
 

Enumerations

enum  { PERF_PMU_FORMAT_VALUE_CONFIG, PERF_PMU_FORMAT_VALUE_CONFIG1, PERF_PMU_FORMAT_VALUE_CONFIG2 }
 

Functions

struct perf_pmuperf_pmu__find (char *name)
 
int perf_pmu__config (struct perf_pmu *pmu, struct perf_event_attr *attr, struct list_head *head_terms)
 
int perf_pmu__check_alias (struct perf_pmu *pmu, struct list_head *head_terms)
 
struct list_headperf_pmu__alias (struct perf_pmu *pmu, struct list_head *head_terms)
 
int perf_pmu_wrap (void)
 
void perf_pmu_error (struct list_head *list, char *name, char const *msg)
 
int perf_pmu__new_format (struct list_head *list, char *name, int config, unsigned long *bits)
 
void perf_pmu__set_format (unsigned long *bits, long from, long to)
 
struct perf_pmuperf_pmu__scan (struct perf_pmu *pmu)
 
int perf_pmu__test (void)
 

Macro Definition Documentation

#define PERF_PMU_FORMAT_BITS   64

Definition at line 13 of file pmu.h.

Enumeration Type Documentation

anonymous enum
Enumerator:
PERF_PMU_FORMAT_VALUE_CONFIG 
PERF_PMU_FORMAT_VALUE_CONFIG1 
PERF_PMU_FORMAT_VALUE_CONFIG2 

Definition at line 7 of file pmu.h.

Function Documentation

struct list_head* perf_pmu__alias ( struct perf_pmu pmu,
struct list_head head_terms 
)
read
int perf_pmu__check_alias ( struct perf_pmu pmu,
struct list_head head_terms 
)

Definition at line 506 of file pmu.c.

int perf_pmu__config ( struct perf_pmu pmu,
struct perf_event_attr attr,
struct list_head head_terms 
)

Definition at line 465 of file pmu.c.

struct perf_pmu* perf_pmu__find ( char name)
read

Definition at line 346 of file pmu.c.

int perf_pmu__new_format ( struct list_head list,
char name,
int  config,
unsigned long bits 
)

Definition at line 525 of file pmu.c.

struct perf_pmu* perf_pmu__scan ( struct perf_pmu pmu)
read

Definition at line 331 of file pmu.c.

void perf_pmu__set_format ( unsigned long bits,
long  from,
long  to 
)

Definition at line 542 of file pmu.c.

int perf_pmu__test ( void  )

Definition at line 689 of file pmu.c.

void perf_pmu_error ( struct list_head list,
char name,
char const msg 
)
int perf_pmu_wrap ( void  )