Lines Matching defs:pmu
302 struct pmu { struct
314 * various common per-pmu feature flags argument
318 int __percpu *pmu_disable_count; argument
319 struct perf_cpu_pmu_context __percpu *cpu_pmu_context; argument
331 void (*pmu_enable) (struct pmu *pmu); /* optional */ argument
332 void (*pmu_disable) (struct pmu *pmu); /* optional */ argument
350 int (*event_init) (struct perf_event *event);
356 void (*event_mapped) (struct perf_event *event, struct mm_struct *mm); /* optional */
357 void (*event_unmapped) (struct perf_event *event, struct mm_struct *mm); /* optional */
385 int (*add) (struct perf_event *event, int flags);
386 void (*del) (struct perf_event *event, int flags);
427 void (*start_txn) (struct pmu *pmu, unsigned int txn_flags); argument
436 int (*commit_txn) (struct pmu *pmu); argument
443 void (*cancel_txn) (struct pmu *pmu); argument
455 void (*sched_task) (struct perf_event_pmu_context *pmu_ctx, argument
469 void (*swap_task_ctx) (struct perf_event_pmu_context *prev_epc, argument
474 * Set up pmu-private data structures for an AUX area argument
481 * Free pmu-private AUX data structures argument
483 void (*free_aux) (void *aux); /* optional */
494 long (*snapshot_aux) (struct perf_event *event,
506 int (*addr_filters_validate) (struct list_head *filters);
537 bool (*filter) (struct pmu *pmu, int cpu); /* optional */ argument
542 int (*check_period) (struct perf_event *event, u64 value); /* optional */
714 struct pmu *pmu; member
873 struct pmu *pmu; member
1412 static inline int is_exclusive_pmu(struct pmu *pmu) in is_exclusive_pmu()