Lines Matching defs:power_pmu
31 struct power_pmu { struct
32 const char *name;
33 int n_counter;
34 int max_alternatives;
35 unsigned long add_fields;
36 unsigned long test_adder;
37 int (*compute_mmcr)(u64 events[], int n_ev,
40 int (*get_constraint)(u64 event_id, unsigned long *mskp,
42 int (*get_alternatives)(u64 event_id, unsigned int flags,
44 void (*get_mem_data_src)(union perf_mem_data_src *dsrc,
46 void (*get_mem_weight)(u64 *weight, u64 type);
47 unsigned long group_constraint_mask;
48 unsigned long group_constraint_val;
49 u64 (*bhrb_filter_map)(u64 branch_sample_type);
50 void (*config_bhrb)(u64 pmu_bhrb_filter);
51 void (*disable_pmc)(unsigned int pmc, struct mmcr_regs *mmcr);
52 int (*limited_pmc_event)(u64 event_id);
53 u32 flags;
54 const struct attribute_group **attr_groups;
55 int n_generic;
79 * Values for power_pmu.flags argument