Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
pmu Struct Reference

#include <perf_event.h>

Data Fields

struct list_head entry
 
struct devicedev
 
struct attribute_group ** attr_groups
 
charname
 
int type
 
int *__percpu pmu_disable_count
 
struct perf_cpu_context *__percpu pmu_cpu_context
 
int task_ctx_nr
 
void(* pmu_enable )(struct pmu *pmu)
 
void(* pmu_disable )(struct pmu *pmu)
 
int(* event_init )(struct perf_event *event)
 
int(* add )(struct perf_event *event, int flags)
 
void(* del )(struct perf_event *event, int flags)
 
void(* start )(struct perf_event *event, int flags)
 
void(* stop )(struct perf_event *event, int flags)
 
void(* read )(struct perf_event *event)
 
void(* start_txn )(struct pmu *pmu)
 
int(* commit_txn )(struct pmu *pmu)
 
void(* cancel_txn )(struct pmu *pmu)
 
int(* event_idx )(struct perf_event *event)
 
void(* flush_branch_stack )(void)
 

Detailed Description

struct pmu - generic performance monitoring unit

Definition at line 181 of file perf_event.h.

Field Documentation

Definition at line 214 of file perf_event.h.

struct attribute_group** attr_groups

Definition at line 185 of file perf_event.h.

void(* cancel_txn)(struct pmu *pmu)

Definition at line 250 of file perf_event.h.

int(* commit_txn)(struct pmu *pmu)

Definition at line 245 of file perf_event.h.

Definition at line 215 of file perf_event.h.

struct device* dev

Definition at line 184 of file perf_event.h.

Definition at line 182 of file perf_event.h.

int(* event_idx)(struct perf_event *event)

Definition at line 256 of file perf_event.h.

int(* event_init)(struct perf_event *event)

Definition at line 204 of file perf_event.h.

void(* flush_branch_stack)(void)

Definition at line 261 of file perf_event.h.

char* name

Definition at line 186 of file perf_event.h.

struct perf_cpu_context* __percpu pmu_cpu_context

Definition at line 190 of file perf_event.h.

void(* pmu_disable)(struct pmu *pmu)

Definition at line 198 of file perf_event.h.

int* __percpu pmu_disable_count

Definition at line 189 of file perf_event.h.

void(* pmu_enable)(struct pmu *pmu)

Definition at line 197 of file perf_event.h.

Definition at line 228 of file perf_event.h.

Definition at line 222 of file perf_event.h.

void(* start_txn)(struct pmu *pmu)

Definition at line 238 of file perf_event.h.

Definition at line 223 of file perf_event.h.

int task_ctx_nr

Definition at line 191 of file perf_event.h.

Definition at line 187 of file perf_event.h.


The documentation for this struct was generated from the following file: