Searched refs:n_events (Results 1 – 9 of 9) sorted by relevance
37 int n_events; member399 for (j = 0; j < cpuc->n_events; j++) { in maybe_change_configuration()411 for (j = 0; j < cpuc->n_events; j++) { in maybe_change_configuration()456 n0 = cpuc->n_events; in alpha_pmu_add()463 cpuc->n_events++; in alpha_pmu_add()495 for (j = 0; j < cpuc->n_events; j++) { in alpha_pmu_del()502 while (++j < cpuc->n_events) { in alpha_pmu_del()514 cpuc->n_events--; in alpha_pmu_del()736 if (cpuc->n_events > 0) { in alpha_pmu_enable()839 for (j = 0; j < cpuc->n_events; j++) { in alpha_perf_event_irq_handler()[all …]
51 int n_events; member663 if (cpuc->n_events == tile_pmu->num_counters) in tile_pmu_add()666 cpuc->event_list[cpuc->n_events] = event; in tile_pmu_add()667 cpuc->n_events++; in tile_pmu_add()715 for (i = 0; i < cpuc->n_events; i++) { in tile_pmu_del()717 while (++i < cpuc->n_events) in tile_pmu_del()719 --cpuc->n_events; in tile_pmu_del()729 if (cpuc->n_events == 0) in tile_pmu_del()
83 int n_events; member927 for (i = 0; i < cpuc->n_events; i++) { in read_in_all_counters()955 for (i = 0; i < cpuc->n_events; i++) { in calculate_single_pcr()990 for (i = 0; i < cpuc->n_events; i++) { in calculate_multiple_pcrs()1006 for (i = 0; i < cpuc->n_events; i++) { in calculate_multiple_pcrs()1040 if (cpuc->n_events) in sparc_pmu_enable()1073 for (i = 0; i < cpuc->n_events; i++) { in active_event_index()1077 BUG_ON(i == cpuc->n_events); in active_event_index()1122 for (i = 0; i < cpuc->n_events; i++) { in sparc_pmu_del()1132 while (++i < cpuc->n_events) { in sparc_pmu_del()[all …]
24 int n_events; member257 ppc_set_pmu_inuse(cpuhw->n_events != 0); in fsl_emb_pmu_enable()259 if (cpuhw->n_events > 0) { in fsl_emb_pmu_enable()323 ++cpuhw->n_events; in fsl_emb_pmu_add()384 cpuhw->n_events--; in fsl_emb_pmu_del()
30 int n_events; member1299 if (cpuhw->n_events == 0) { in power_pmu_enable()1330 if (ppmu->compute_mmcr(cpuhw->events, cpuhw->n_events, hwc_index, in power_pmu_enable()1369 for (i = 0; i < cpuhw->n_events; ++i) { in power_pmu_enable()1382 for (i = 0; i < cpuhw->n_events; ++i) { in power_pmu_enable()1488 n0 = cpuhw->n_events; in power_pmu_add()1523 ++cpuhw->n_events; in power_pmu_add()1561 for (i = 0; i < cpuhw->n_events; ++i) { in power_pmu_del()1563 while (++i < cpuhw->n_events) { in power_pmu_del()1568 --cpuhw->n_events; in power_pmu_del()[all …]
344 if (box->n_events >= max_count) in uncore_collect_events()347 n = box->n_events; in uncore_collect_events()528 for (i = 0; i < box->n_events; i++) { in uncore_pmu_event_add()553 else if (i < box->n_events) in uncore_pmu_event_add()561 box->n_events = n; in uncore_pmu_event_add()573 for (i = 0; i < box->n_events; i++) { in uncore_pmu_event_del()577 for (++i; i < box->n_events; i++) in uncore_pmu_event_del()580 --box->n_events; in uncore_pmu_event_del()621 fake_box->n_events = n; in uncore_validate_group()626 fake_box->n_events = n; in uncore_validate_group()
105 int n_events; member
973 n = cpuc->n_events; in collect_events()1046 int n_running = cpuc->n_events - cpuc->n_added; in x86_pmu_enable()1080 for (i = 0; i < cpuc->n_events; i++) { in x86_pmu_enable()1195 n0 = cpuc->n_events; in x86_pmu_add()1229 cpuc->n_events = n; in x86_pmu_add()1380 for (i = 0; i < cpuc->n_events; i++) { in x86_pmu_del()1385 if (WARN_ON_ONCE(i == cpuc->n_events)) /* called ->del() without ->add() ? */ in x86_pmu_del()1389 if (i >= cpuc->n_events - cpuc->n_added) in x86_pmu_del()1396 while (++i < cpuc->n_events) { in x86_pmu_del()1400 --cpuc->n_events; in x86_pmu_del()[all …]
182 int n_events; /* the # of events in the below arrays */ member