Lines Matching defs:pmu
295 struct pmu { struct
306 * various common per-pmu feature flags argument
310 int __percpu *pmu_disable_count; argument
311 struct perf_cpu_context __percpu *pmu_cpu_context; argument
323 void (*pmu_enable) (struct pmu *pmu); /* optional */ argument
324 void (*pmu_disable) (struct pmu *pmu); /* optional */ argument
342 int (*event_init) (struct perf_event *event);
348 void (*event_mapped) (struct perf_event *event, struct mm_struct *mm); /* optional */
349 void (*event_unmapped) (struct perf_event *event, struct mm_struct *mm); /* optional */
377 int (*add) (struct perf_event *event, int flags);
378 void (*del) (struct perf_event *event, int flags);
419 void (*start_txn) (struct pmu *pmu, unsigned int txn_flags); argument
428 int (*commit_txn) (struct pmu *pmu); argument
435 void (*cancel_txn) (struct pmu *pmu); argument
441 int (*event_idx) (struct perf_event *event); /*optional */
465 * Set up pmu-private data structures for an AUX area argument
472 * Free pmu-private AUX data structures argument
474 void (*free_aux) (void *aux); /* optional */
485 long (*snapshot_aux) (struct perf_event *event,
497 int (*addr_filters_validate) (struct list_head *filters);
511 void (*addr_filters_sync) (struct perf_event *event);
521 int (*aux_output_match) (struct perf_event *event);
527 int (*filter_match) (struct perf_event *event); /* optional */
532 int (*check_period) (struct perf_event *event, u64 value); /* optional */
698 struct pmu *pmu; member
827 struct pmu *pmu; member
1193 static inline int is_exclusive_pmu(struct pmu *pmu) in is_exclusive_pmu()