Lines Matching refs:pmu
203 pinned : 1, /* must always be on PMU */
204 exclusive : 1, /* only group on PMU */
602 * Common implementation detail of pmu::{start,commit,cancel}_txn
607 * struct pmu - generic performance monitoring unit
609 struct pmu {
621 * Fully disable/enable this PMU, can be used to protect from the PMI
624 void (*pmu_enable) (struct pmu *pmu); /* optional */
625 void (*pmu_disable) (struct pmu *pmu); /* optional */
628 * Try and initialize the event for this PMU.
629 * Should return -ENOENT when the @event doesn't match this PMU.
638 * Adds/Removes a counter to/from the PMU, can be done inside
645 * Starts/Stops a counter present on the PMU. The PMI handler
665 void (*start_txn) (struct pmu *pmu); /* optional */
672 int (*commit_txn) (struct pmu *pmu); /* optional */
677 void (*cancel_txn) (struct pmu *pmu); /* optional */
768 struct pmu *pmu;
891 struct pmu *pmu;
950 struct pmu *active_pmu;
967 extern int perf_pmu_register(struct pmu *pmu, char *name, int type);
968 extern void perf_pmu_unregister(struct pmu *pmu);
979 extern void perf_pmu_disable(struct pmu *pmu);
980 extern void perf_pmu_enable(struct pmu *pmu);
1043 return event->pmu->task_ctx_nr == perf_sw_context;