Home
last modified time | relevance | path

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

/Linux-v4.19/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-v4.19/arch/sh/kernel/
Dperf_event.c32 struct perf_event *events[MAX_HWEVENTS];
33 unsigned long used_mask[BITS_TO_LONGS(MAX_HWEVENTS)];
34 unsigned long active_mask[BITS_TO_LONGS(MAX_HWEVENTS)];
378 WARN_ON(_pmu->num_events > MAX_HWEVENTS); in register_sh_pmu()
/Linux-v4.19/arch/powerpc/perf/
Dcore-book3s.c36 struct perf_event *event[MAX_HWEVENTS];
37 u64 events[MAX_HWEVENTS];
38 unsigned int flags[MAX_HWEVENTS];
47 u64 alternatives[MAX_HWEVENTS][MAX_EVENT_ALTERNATIVES];
48 unsigned long amasks[MAX_HWEVENTS][MAX_EVENT_ALTERNATIVES];
49 unsigned long avalues[MAX_HWEVENTS][MAX_EVENT_ALTERNATIVES];
799 u32 pmcs[MAX_HWEVENTS]; in perf_event_print_debug()
818 for (; i < MAX_HWEVENTS; i++) in perf_event_print_debug()
862 unsigned long smasks[MAX_HWEVENTS], svalues[MAX_HWEVENTS]; in power_check_constraints()
863 int n_alt[MAX_HWEVENTS], choice[MAX_HWEVENTS]; in power_check_constraints()
[all …]
Dcore-fsl-emb.c27 struct perf_event *event[MAX_HWEVENTS];
489 struct perf_event *events[MAX_HWEVENTS]; in fsl_emb_pmu_event_init()
495 if (ppmu->n_counter > MAX_HWEVENTS) { in fsl_emb_pmu_event_init()
497 ppmu->n_counter, MAX_HWEVENTS); in fsl_emb_pmu_event_init()
498 ppmu->n_counter = MAX_HWEVENTS; in fsl_emb_pmu_event_init()
/Linux-v4.19/arch/powerpc/include/asm/
Dperf_event_fsl_emb.h16 #define MAX_HWEVENTS 6 macro
Dperf_event_server.h18 #define MAX_HWEVENTS 8 macro
/Linux-v4.19/arch/sh/include/asm/
Dperf_event.h7 #define MAX_HWEVENTS 2 macro
/Linux-v4.19/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];
1414 struct perf_event *evts[MAX_HWEVENTS]; in sparc_pmu_event_init()
1416 unsigned long events[MAX_HWEVENTS]; in sparc_pmu_event_init()
1417 int current_idx_dmy[MAX_HWEVENTS]; in sparc_pmu_event_init()