Lines Matching defs:pmu
181 * struct x86_pmu - generic x86 pmu
612 static const struct pmu pmu;
616 return event->pmu == &pmu;
1427 * Set the flag to make pmu::enable() not perform the
1430 static void x86_pmu_start_txn(const struct pmu *pmu)
1440 * Clear the flag and pmu::enable() will perform the
1443 static void x86_pmu_cancel_txn(const struct pmu *pmu)
1460 static int x86_pmu_commit_txn(const struct pmu *pmu)
1486 static const struct pmu pmu = {
1572 const struct pmu *hw_perf_event_init(struct perf_event *event)
1574 const struct pmu *tmp;
1580 * we temporarily connect event to its pmu
1584 tmp = event->pmu;
1585 event->pmu = &pmu;
1592 event->pmu = tmp;
1600 return &pmu;