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

#include <perf_event.h>

Data Fields

const charname
 
int version
 
int(* handle_irq )(struct pt_regs *)
 
void(* disable_all )(void)
 
void(* enable_all )(int added)
 
void(* enable )(struct perf_event *)
 
void(* disable )(struct perf_event *)
 
int(* hw_config )(struct perf_event *event)
 
int(* schedule_events )(struct cpu_hw_events *cpuc, int n, int *assign)
 
unsigned eventsel
 
unsigned perfctr
 
u64(* event_map )(int)
 
int max_events
 
int num_counters
 
int num_counters_fixed
 
int cntval_bits
 
u64 cntval_mask
 
union {
   unsigned long   events_maskl
 
   unsigned long   events_mask [BITS_TO_LONGS(ARCH_PERFMON_EVENTS_COUNT)]
 
}; 
 
int events_mask_len
 
int apic
 
u64 max_period
 
struct event_constraint *(* get_event_constraints )(struct cpu_hw_events *cpuc, struct perf_event *event)
 
void(* put_event_constraints )(struct cpu_hw_events *cpuc, struct perf_event *event)
 
struct event_constraintevent_constraints
 
struct x86_pmu_quirkquirks
 
int perfctr_second_write
 
int attr_rdpmc
 
struct attribute ** format_attrs
 
int(* cpu_prepare )(int cpu)
 
void(* cpu_starting )(int cpu)
 
void(* cpu_dying )(int cpu)
 
void(* cpu_dead )(int cpu)
 
void(* check_microcode )(void)
 
void(* flush_branch_stack )(void)
 
u64 intel_ctrl
 
union perf_capabilities intel_cap
 
unsigned int bts:1
 
unsigned int bts_active:1
 
unsigned int pebs:1
 
unsigned int pebs_active:1
 
unsigned int pebs_broken:1
 
int pebs_record_size
 
void(* drain_pebs )(struct pt_regs *regs)
 
struct event_constraintpebs_constraints
 
void(* pebs_aliases )(struct perf_event *event)
 
int max_pebs_events
 
unsigned long lbr_tos
 
unsigned long lbr_from
 
unsigned long lbr_to
 
int lbr_nr
 
u64 lbr_sel_mask
 
const intlbr_sel_map
 
struct extra_regextra_regs
 
unsigned int er_flags
 
struct perf_guest_switch_msr *(* guest_get_msrs )(int *nr)
 

Detailed Description

Definition at line 313 of file perf_event.h.

Field Documentation

union { ... }

Definition at line 339 of file perf_event.h.

int attr_rdpmc

Definition at line 354 of file perf_event.h.

unsigned int bts

Definition at line 377 of file perf_event.h.

unsigned int bts_active

Definition at line 377 of file perf_event.h.

void(* check_microcode)(void)

Definition at line 365 of file perf_event.h.

int cntval_bits

Definition at line 332 of file perf_event.h.

u64 cntval_mask

Definition at line 333 of file perf_event.h.

void(* cpu_dead)(int cpu)

Definition at line 363 of file perf_event.h.

void(* cpu_dying)(int cpu)

Definition at line 362 of file perf_event.h.

int(* cpu_prepare)(int cpu)

Definition at line 360 of file perf_event.h.

void(* cpu_starting)(int cpu)

Definition at line 361 of file perf_event.h.

void(* disable)(struct perf_event *)

Definition at line 323 of file perf_event.h.

void(* disable_all)(void)

Definition at line 320 of file perf_event.h.

void(* drain_pebs)(struct pt_regs *regs)

Definition at line 383 of file perf_event.h.

void(* enable)(struct perf_event *)

Definition at line 322 of file perf_event.h.

void(* enable_all)(int added)

Definition at line 321 of file perf_event.h.

unsigned int er_flags

Definition at line 400 of file perf_event.h.

struct event_constraint* event_constraints

Definition at line 347 of file perf_event.h.

u64(* event_map)(int)

Definition at line 328 of file perf_event.h.

Definition at line 336 of file perf_event.h.

int events_mask_len

Definition at line 338 of file perf_event.h.

unsigned long events_maskl

Definition at line 335 of file perf_event.h.

unsigned eventsel

Definition at line 326 of file perf_event.h.

struct extra_reg* extra_regs

Definition at line 399 of file perf_event.h.

void(* flush_branch_stack)(void)

Definition at line 366 of file perf_event.h.

struct attribute** format_attrs

Definition at line 355 of file perf_event.h.

struct event_constraint*(* get_event_constraints)(struct cpu_hw_events *cpuc, struct perf_event *event)
read

Definition at line 342 of file perf_event.h.

struct perf_guest_switch_msr*(* guest_get_msrs)(int *nr)
read

Definition at line 405 of file perf_event.h.

int(* handle_irq)(struct pt_regs *)

Definition at line 319 of file perf_event.h.

int(* hw_config)(struct perf_event *event)

Definition at line 324 of file perf_event.h.

union perf_capabilities intel_cap

Definition at line 372 of file perf_event.h.

u64 intel_ctrl

Definition at line 371 of file perf_event.h.

unsigned long lbr_from

Definition at line 391 of file perf_event.h.

int lbr_nr

Definition at line 392 of file perf_event.h.

const int* lbr_sel_map

Definition at line 394 of file perf_event.h.

u64 lbr_sel_mask

Definition at line 393 of file perf_event.h.

unsigned long lbr_to

Definition at line 391 of file perf_event.h.

unsigned long lbr_tos

Definition at line 391 of file perf_event.h.

int max_events

Definition at line 329 of file perf_event.h.

int max_pebs_events

Definition at line 386 of file perf_event.h.

u64 max_period

Definition at line 340 of file perf_event.h.

const char* name

Definition at line 317 of file perf_event.h.

int num_counters

Definition at line 330 of file perf_event.h.

int num_counters_fixed

Definition at line 331 of file perf_event.h.

unsigned int pebs

Definition at line 377 of file perf_event.h.

unsigned int pebs_active

Definition at line 377 of file perf_event.h.

void(* pebs_aliases)(struct perf_event *event)

Definition at line 385 of file perf_event.h.

unsigned int pebs_broken

Definition at line 377 of file perf_event.h.

struct event_constraint* pebs_constraints

Definition at line 384 of file perf_event.h.

int pebs_record_size

Definition at line 382 of file perf_event.h.

unsigned perfctr

Definition at line 327 of file perf_event.h.

int perfctr_second_write

Definition at line 349 of file perf_event.h.

void(* put_event_constraints)(struct cpu_hw_events *cpuc, struct perf_event *event)

Definition at line 345 of file perf_event.h.

Definition at line 348 of file perf_event.h.

int(* schedule_events)(struct cpu_hw_events *cpuc, int n, int *assign)

Definition at line 325 of file perf_event.h.

int version

Definition at line 318 of file perf_event.h.


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