Searched refs:n_events (Results 1 – 6 of 6) sorted by relevance
36 int n_events; member389 for (j = 0; j < cpuc->n_events; j++) { in maybe_change_configuration()401 for (j = 0; j < cpuc->n_events; j++) { in maybe_change_configuration()446 n0 = cpuc->n_events; in alpha_pmu_add()453 cpuc->n_events++; in alpha_pmu_add()485 for (j = 0; j < cpuc->n_events; j++) { in alpha_pmu_del()492 while (++j < cpuc->n_events) { in alpha_pmu_del()504 cpuc->n_events--; in alpha_pmu_del()724 if (cpuc->n_events > 0) { in alpha_pmu_enable()828 for (j = 0; j < cpuc->n_events; j++) { in alpha_perf_event_irq_handler()[all …]
23 int n_events; member656 if (cpuhw->n_events == 0) in power_pmu_enable()664 if (ppmu->compute_mmcr(cpuhw->events, cpuhw->n_events, hwc_index, in power_pmu_enable()700 for (i = 0; i < cpuhw->n_events; ++i) { in power_pmu_enable()713 for (i = 0; i < cpuhw->n_events; ++i) { in power_pmu_enable()804 n0 = cpuhw->n_events; in power_pmu_add()829 ++cpuhw->n_events; in power_pmu_add()854 for (i = 0; i < cpuhw->n_events; ++i) { in power_pmu_del()856 while (++i < cpuhw->n_events) { in power_pmu_del()861 --cpuhw->n_events; in power_pmu_del()[all …]
24 int n_events; member233 ppc_set_pmu_inuse(cpuhw->n_events != 0); in fsl_emb_pmu_enable()235 if (cpuhw->n_events > 0) { in fsl_emb_pmu_enable()299 ++cpuhw->n_events; in fsl_emb_pmu_add()358 cpuhw->n_events--; in fsl_emb_pmu_del()
69 int n_events; member682 for (i = 0; i < cpuc->n_events; i++) { in maybe_change_configuration()694 for (i = 0; i < cpuc->n_events; i++) { in maybe_change_configuration()729 if (!cpuc->n_events) { in sparc_pmu_enable()768 for (i = 0; i < cpuc->n_events; i++) { in active_event_index()772 BUG_ON(i == cpuc->n_events); in active_event_index()816 for (i = 0; i < cpuc->n_events; i++) { in sparc_pmu_del()826 while (++i < cpuc->n_events) { in sparc_pmu_del()835 cpuc->n_events--; in sparc_pmu_del()1063 n0 = cpuc->n_events; in sparc_pmu_add()[all …]
796 n = cpuc->n_events; in collect_events()867 int n_running = cpuc->n_events - cpuc->n_added; in x86_pmu_enable()899 for (i = 0; i < cpuc->n_events; i++) { in x86_pmu_enable()1012 n0 = cpuc->n_events; in x86_pmu_add()1039 cpuc->n_events = n; in x86_pmu_add()1165 for (i = 0; i < cpuc->n_events; i++) { in x86_pmu_del()1171 while (++i < cpuc->n_events) in x86_pmu_del()1174 --cpuc->n_events; in x86_pmu_del()1441 __this_cpu_sub(cpu_hw_events.n_events, __this_cpu_read(cpu_hw_events.n_txn)); in x86_pmu_cancel_txn()1456 n = cpuc->n_events; in x86_pmu_commit_txn()[all …]
112 int n_events; member