Symbol: PERF_COUNT_HW_MAX
arch/arc/include/asm/perf_event.h
55
#define PERF_COUNT_ARC_DCLM (PERF_COUNT_HW_MAX + 0)
arch/arc/include/asm/perf_event.h
56
#define PERF_COUNT_ARC_DCSM (PERF_COUNT_HW_MAX + 1)
arch/arc/include/asm/perf_event.h
57
#define PERF_COUNT_ARC_ICM (PERF_COUNT_HW_MAX + 2)
arch/arc/include/asm/perf_event.h
58
#define PERF_COUNT_ARC_BPOK (PERF_COUNT_HW_MAX + 3)
arch/arc/include/asm/perf_event.h
59
#define PERF_COUNT_ARC_EDTLB (PERF_COUNT_HW_MAX + 4)
arch/arc/include/asm/perf_event.h
60
#define PERF_COUNT_ARC_EITLB (PERF_COUNT_HW_MAX + 5)
arch/arc/include/asm/perf_event.h
61
#define PERF_COUNT_ARC_LDC (PERF_COUNT_HW_MAX + 6)
arch/arc/include/asm/perf_event.h
62
#define PERF_COUNT_ARC_STC (PERF_COUNT_HW_MAX + 7)
arch/arc/include/asm/perf_event.h
64
#define PERF_COUNT_ARC_HW_MAX (PERF_COUNT_HW_MAX + 8)
arch/arc/kernel/perf_event.c
354
if (event->attr.config >= PERF_COUNT_HW_MAX)
arch/csky/kernel/perf_event.c
714
static const int csky_pmu_hw_map[PERF_COUNT_HW_MAX] = {
arch/csky/kernel/perf_event.c
975
if (event->attr.config >= PERF_COUNT_HW_MAX)
arch/loongarch/kernel/perf_event.c
121
[0 ... PERF_COUNT_HW_MAX - 1] = {HW_OP_UNSUPPORTED}
arch/loongarch/kernel/perf_event.c
139
const struct loongarch_perf_event (*general_event_map)[PERF_COUNT_HW_MAX];
arch/loongarch/kernel/perf_event.c
676
static const struct loongarch_perf_event loongson_event_map[PERF_COUNT_HW_MAX] = {
arch/loongarch/kernel/perf_event.c
760
if (event->attr.config >= PERF_COUNT_HW_MAX)
arch/mips/kernel/perf_event_mipsxx.c
1479
if (event->attr.config >= PERF_COUNT_HW_MAX)
arch/mips/kernel/perf_event_mipsxx.c
85
const struct mips_perf_event (*general_event_map)[PERF_COUNT_HW_MAX];
arch/mips/kernel/perf_event_mipsxx.c
937
[PERF_COUNT_HW_MAX] = {
arch/mips/kernel/perf_event_mipsxx.c
946
[PERF_COUNT_HW_MAX] = {
arch/mips/kernel/perf_event_mipsxx.c
953
static const struct mips_perf_event i6x00_event_map[PERF_COUNT_HW_MAX] = {
arch/mips/kernel/perf_event_mipsxx.c
963
static const struct mips_perf_event loongson3_event_map1[PERF_COUNT_HW_MAX] = {
arch/mips/kernel/perf_event_mipsxx.c
970
static const struct mips_perf_event loongson3_event_map2[PERF_COUNT_HW_MAX] = {
arch/mips/kernel/perf_event_mipsxx.c
978
static const struct mips_perf_event loongson3_event_map3[PERF_COUNT_HW_MAX] = {
arch/mips/kernel/perf_event_mipsxx.c
987
static const struct mips_perf_event octeon_event_map[PERF_COUNT_HW_MAX] = {
arch/mips/kernel/perf_event_mipsxx.c
998
[PERF_COUNT_HW_MAX] = {
arch/x86/events/amd/core.c
240
static const u64 amd_perfmon_event_map[PERF_COUNT_HW_MAX] =
arch/x86/events/amd/core.c
255
static const u64 amd_zen1_perfmon_event_map[PERF_COUNT_HW_MAX] =
arch/x86/events/amd/core.c
267
static const u64 amd_zen2_perfmon_event_map[PERF_COUNT_HW_MAX] =
arch/x86/events/amd/core.c
278
static const u64 amd_zen4_perfmon_event_map[PERF_COUNT_HW_MAX] =
arch/x86/events/intel/core.c
33
static u64 intel_perfmon_event_map[PERF_COUNT_HW_MAX] __read_mostly =
arch/x86/events/intel/p4.c
653
static u64 p4_general_events[PERF_COUNT_HW_MAX] = {
arch/x86/events/zhaoxin/core.c
25
static u64 zx_pmon_event_map[PERF_COUNT_HW_MAX] __read_mostly = {
drivers/perf/apple_m1_cpu_pmu.c
170
static const unsigned m1_pmu_perf_map[PERF_COUNT_HW_MAX] = {
drivers/perf/arm_pmu.c
157
armpmu_map_hw_event(const unsigned (*event_map)[PERF_COUNT_HW_MAX], u64 config)
drivers/perf/arm_pmu.c
161
if (config >= PERF_COUNT_HW_MAX)
drivers/perf/arm_pmu.c
179
const unsigned (*event_map)[PERF_COUNT_HW_MAX],
drivers/perf/arm_pmuv3.c
1219
[PERF_COUNT_HW_MAX],
drivers/perf/arm_pmuv3.c
45
static const unsigned armv8_pmuv3_perf_map[PERF_COUNT_HW_MAX] = {
drivers/perf/arm_v6_pmu.c
75
static const unsigned armv6_perf_map[PERF_COUNT_HW_MAX] = {
drivers/perf/arm_v7_pmu.c
156
static const unsigned armv7_a8_perf_map[PERF_COUNT_HW_MAX] = {
drivers/perf/arm_v7_pmu.c
205
static const unsigned armv7_a9_perf_map[PERF_COUNT_HW_MAX] = {
drivers/perf/arm_v7_pmu.c
249
static const unsigned armv7_a5_perf_map[PERF_COUNT_HW_MAX] = {
drivers/perf/arm_v7_pmu.c
295
static const unsigned armv7_a15_perf_map[PERF_COUNT_HW_MAX] = {
drivers/perf/arm_v7_pmu.c
344
static const unsigned armv7_a7_perf_map[PERF_COUNT_HW_MAX] = {
drivers/perf/arm_v7_pmu.c
393
static const unsigned armv7_a12_perf_map[PERF_COUNT_HW_MAX] = {
drivers/perf/arm_v7_pmu.c
443
static const unsigned krait_perf_map[PERF_COUNT_HW_MAX] = {
drivers/perf/arm_v7_pmu.c
452
static const unsigned krait_perf_map_no_branch[PERF_COUNT_HW_MAX] = {
drivers/perf/arm_v7_pmu.c
493
static const unsigned scorpion_perf_map[PERF_COUNT_HW_MAX] = {
drivers/perf/arm_xscale_pmu.c
59
static const unsigned xscale_perf_map[PERF_COUNT_HW_MAX] = {
drivers/perf/riscv_pmu_sbi.c
422
if (config >= PERF_COUNT_HW_MAX)
include/linux/perf/arm_pmu.h
141
const unsigned (*event_map)[PERF_COUNT_HW_MAX],
include/linux/perf/arm_pmu.h
44
[0 ... PERF_COUNT_HW_MAX - 1] = HW_OP_UNSUPPORTED
tools/bpf/bpftool/link.c
34
const char *event_symbols_hw[PERF_COUNT_HW_MAX] = {
tools/perf/arch/x86/util/evsel.c
61
if (event < PERF_COUNT_HW_MAX && evsel__hw_names[event])
tools/perf/tests/evsel-roundtrip-name.c
89
err = perf_evsel__name_array_test(evsel__hw_names, PERF_COUNT_HW_MAX);
tools/perf/util/evsel.c
411
evsel->alternate_hw_config = PERF_COUNT_HW_MAX;
tools/perf/util/evsel.c
4285
counter->alternate_hw_config != PERF_COUNT_HW_MAX) {
tools/perf/util/evsel.c
662
const char *const evsel__hw_names[PERF_COUNT_HW_MAX] = {
tools/perf/util/evsel.c
699
if (config < PERF_COUNT_HW_MAX && evsel__hw_names[config])
tools/perf/util/evsel.h
313
extern const char *const evsel__hw_names[PERF_COUNT_HW_MAX];
tools/perf/util/parse-events.c
1007
if (term->val.num >= PERF_COUNT_HW_MAX) {
tools/perf/util/parse-events.c
1433
cpus, /*alternate_hw_config=*/PERF_COUNT_HW_MAX) ? 0 : -ENOMEM;
tools/perf/util/parse-events.c
1493
u64 alternate_hw_config = PERF_COUNT_HW_MAX;
tools/perf/util/parse-events.c
303
/*alternate_hw_config=*/PERF_COUNT_HW_MAX);
tools/perf/util/parse-events.c
676
&config_terms, /*alternate_hw_config=*/PERF_COUNT_HW_MAX);
tools/perf/util/pmu.c
1542
assert(term->val.num < PERF_COUNT_HW_MAX);