Home
last modified time | relevance | path

Searched refs:MAX_HWEVENTS (Results 1 – 8 of 8) sorted by relevance

/linux-5.19.10/arch/alpha/kernel/
Dperf_event.c30 #define MAX_HWEVENTS 3 macro
41 struct perf_event *event[MAX_HWEVENTS];
43 unsigned long evtype[MAX_HWEVENTS];
47 int current_idx[MAX_HWEVENTS];
72 int pmc_count_shift[MAX_HWEVENTS];
77 unsigned long pmc_count_mask[MAX_HWEVENTS];
79 unsigned long pmc_max_period[MAX_HWEVENTS];
606 struct perf_event *evts[MAX_HWEVENTS]; in __hw_perf_event_init()
607 unsigned long evtypes[MAX_HWEVENTS]; in __hw_perf_event_init()
608 int idx_rubbish_bin[MAX_HWEVENTS]; in __hw_perf_event_init()
/linux-5.19.10/arch/sh/kernel/
Dperf_event.c29 struct perf_event *events[MAX_HWEVENTS];
30 unsigned long used_mask[BITS_TO_LONGS(MAX_HWEVENTS)];
31 unsigned long active_mask[BITS_TO_LONGS(MAX_HWEVENTS)];
357 WARN_ON(_pmu->num_events > MAX_HWEVENTS); in register_sh_pmu()
/linux-5.19.10/arch/powerpc/perf/
Dcore-book3s.c39 struct perf_event *event[MAX_HWEVENTS];
40 u64 events[MAX_HWEVENTS];
41 unsigned int flags[MAX_HWEVENTS];
45 u64 alternatives[MAX_HWEVENTS][MAX_EVENT_ALTERNATIVES];
46 unsigned long amasks[MAX_HWEVENTS][MAX_EVENT_ALTERNATIVES];
47 unsigned long avalues[MAX_HWEVENTS][MAX_EVENT_ALTERNATIVES];
61 unsigned long pmcs[MAX_HWEVENTS];
906 u32 pmcs[MAX_HWEVENTS]; in perf_event_print_debug()
925 for (; i < MAX_HWEVENTS; i++) in perf_event_print_debug()
974 unsigned long smasks[MAX_HWEVENTS], svalues[MAX_HWEVENTS]; in power_check_constraints()
[all …]
Dcore-fsl-emb.c23 struct perf_event *event[MAX_HWEVENTS];
472 struct perf_event *events[MAX_HWEVENTS]; in fsl_emb_pmu_event_init()
478 if (ppmu->n_counter > MAX_HWEVENTS) { in fsl_emb_pmu_event_init()
480 ppmu->n_counter, MAX_HWEVENTS); in fsl_emb_pmu_event_init()
481 ppmu->n_counter = MAX_HWEVENTS; in fsl_emb_pmu_event_init()
/linux-5.19.10/arch/powerpc/include/asm/
Dperf_event_fsl_emb.h12 #define MAX_HWEVENTS 6 macro
Dperf_event_server.h14 #define MAX_HWEVENTS 8 macro
/linux-5.19.10/arch/sh/include/asm/
Dperf_event.h7 #define MAX_HWEVENTS 2 macro
/linux-5.19.10/arch/sparc/kernel/
Dperf_event.c70 #define MAX_HWEVENTS 4 macro
92 struct perf_event *event[MAX_HWEVENTS];
98 unsigned long events[MAX_HWEVENTS];
105 int current_idx[MAX_HWEVENTS];
108 u64 pcr[MAX_HWEVENTS];
1418 struct perf_event *evts[MAX_HWEVENTS]; in sparc_pmu_event_init()
1420 unsigned long events[MAX_HWEVENTS]; in sparc_pmu_event_init()
1421 int current_idx_dmy[MAX_HWEVENTS]; in sparc_pmu_event_init()