• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/kernel/

Lines Matching defs:pmu

78 extern __weak const struct pmu *hw_perf_event_init(struct perf_event *event)
439 event->pmu->disable(event);
670 if (event->pmu->enable(event)) {
694 const struct pmu *pmu = group_event->pmu;
701 if (pmu->start_txn)
705 pmu->start_txn(pmu);
709 pmu->cancel_txn(pmu);
723 if (!txn || !pmu->commit_txn(pmu))
739 pmu->cancel_txn(pmu);
1154 event->pmu->read(event);
1525 if (!event->pmu->stop)
1526 return event->pmu->disable(event);
1528 return event->pmu->stop(event);
1533 if (!event->pmu->start)
1534 return event->pmu->enable(event);
1536 return event->pmu->start(event);
1592 event->pmu->unthrottle(event);
1600 event->pmu->read(event);
1754 event->pmu->read(event);
3268 leader->pmu->read(leader);
3280 sub->pmu->read(sub);
3966 throttle = (throttle && event->pmu->unthrottle != NULL);
4309 static const struct pmu perf_ops_generic = {
4331 event->pmu->read(event);
4422 static const struct pmu perf_ops_cpu_clock = {
4479 static const struct pmu perf_ops_task_clock = {
4593 static const struct pmu perf_ops_tracepoint = {
4657 static const struct pmu *tp_perf_event_init(struct perf_event *event)
4704 static const struct pmu *tp_perf_event_init(struct perf_event *event)
4726 static const struct pmu *bp_perf_event_init(struct perf_event *bp)
4750 static const struct pmu *bp_perf_event_init(struct perf_event *bp)
4772 static const struct pmu *sw_perf_event_init(struct perf_event *event)
4774 const struct pmu *pmu = NULL;
4786 pmu = &perf_ops_cpu_clock;
4795 pmu = &perf_ops_task_clock;
4797 pmu = &perf_ops_cpu_clock;
4817 pmu = &perf_ops_generic;
4821 return pmu;
4836 const struct pmu *pmu;
4865 event->pmu = NULL;
4884 pmu = NULL;
4904 pmu = hw_perf_event_init(event);
4908 pmu = sw_perf_event_init(event);
4912 pmu = tp_perf_event_init(event);
4916 pmu = bp_perf_event_init(event);
4925 if (!pmu)
4927 else if (IS_ERR(pmu))
4928 err = PTR_ERR(pmu);
4937 event->pmu = pmu;