Home | History | Annotate | Download | only in linux

Lines Matching refs:pmu

89  * extra PMU register associated with an event
165 * Common implementation detail of pmu::{start,commit,cancel}_txn
170 * struct pmu - generic performance monitoring unit
172 struct pmu {
186 * Fully disable/enable this PMU, can be used to protect from the PMI
189 void (*pmu_enable) (struct pmu *pmu); /* optional */
190 void (*pmu_disable) (struct pmu *pmu); /* optional */
193 * Try and initialize the event for this PMU.
194 * Should return -ENOENT when the @event doesn't match this PMU.
203 * Adds/Removes a counter to/from the PMU, can be done inside
210 * Starts/Stops a counter present on the PMU. The PMI handler
230 void (*start_txn) (struct pmu *pmu); /* optional */
237 int (*commit_txn) (struct pmu *pmu); /* optional */
242 void (*cancel_txn) (struct pmu *pmu); /* optional */
326 struct pmu *pmu;
453 struct pmu *pmu;
515 struct pmu *unique_pmu;
530 extern int perf_pmu_register(struct pmu *pmu, const char *name, int type);
531 extern void perf_pmu_unregister(struct pmu *pmu);
544 extern void perf_pmu_disable(struct pmu *pmu);
545 extern void perf_pmu_enable(struct pmu *pmu);
557 extern void perf_pmu_migrate_context(struct pmu *pmu,
627 return event->pmu->task_ctx_nr == perf_sw_context;