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

#include <perf_event_server.h>

Data Fields

const charname
 
int n_counter
 
int max_alternatives
 
unsigned long add_fields
 
unsigned long test_adder
 
int(* compute_mmcr )(u64 events[], int n_ev, unsigned int hwc[], unsigned long mmcr[])
 
int(* get_constraint )(u64 event_id, unsigned long *mskp, unsigned long *valp)
 
int(* get_alternatives )(u64 event_id, unsigned int flags, u64 alt[])
 
void(* disable_pmc )(unsigned int pmc, unsigned long mmcr[])
 
int(* limited_pmc_event )(u64 event_id)
 
u32 flags
 
int n_generic
 
intgeneric_events
 
int(* cache_events )[PERF_COUNT_HW_CACHE_MAX][PERF_COUNT_HW_CACHE_OP_MAX][PERF_COUNT_HW_CACHE_RESULT_MAX]
 

Detailed Description

Definition at line 23 of file perf_event_server.h.

Field Documentation

unsigned long add_fields

Definition at line 27 of file perf_event_server.h.

Definition at line 40 of file perf_event_server.h.

int(* compute_mmcr)(u64 events[], int n_ev, unsigned int hwc[], unsigned long mmcr[])

Definition at line 29 of file perf_event_server.h.

void(* disable_pmc)(unsigned int pmc, unsigned long mmcr[])

Definition at line 35 of file perf_event_server.h.

u32 flags

Definition at line 37 of file perf_event_server.h.

int* generic_events

Definition at line 39 of file perf_event_server.h.

int(* get_alternatives)(u64 event_id, unsigned int flags, u64 alt[])

Definition at line 33 of file perf_event_server.h.

int(* get_constraint)(u64 event_id, unsigned long *mskp, unsigned long *valp)

Definition at line 31 of file perf_event_server.h.

int(* limited_pmc_event)(u64 event_id)

Definition at line 36 of file perf_event_server.h.

int max_alternatives

Definition at line 26 of file perf_event_server.h.

int n_counter

Definition at line 25 of file perf_event_server.h.

int n_generic

Definition at line 38 of file perf_event_server.h.

const char* name

Definition at line 24 of file perf_event_server.h.

unsigned long test_adder

Definition at line 28 of file perf_event_server.h.


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