Home
last modified time | relevance | path

Searched refs:PERF_COUNT_HW_INSTRUCTIONS (Results 1 – 25 of 66) sorted by relevance

123

/openbmc/linux/tools/testing/selftests/powerpc/pmu/
H A Dper_event_excludes.c35 event_init_opts(e, PERF_COUNT_HW_INSTRUCTIONS, in per_event_excludes()
40 event_init_opts(e, PERF_COUNT_HW_INSTRUCTIONS, in per_event_excludes()
47 event_init_opts(e, PERF_COUNT_HW_INSTRUCTIONS, in per_event_excludes()
54 event_init_opts(e, PERF_COUNT_HW_INSTRUCTIONS, in per_event_excludes()
H A Dcount_instructions.c99 setup_event(&events[0], PERF_COUNT_HW_INSTRUCTIONS, "instructions"); in test_body()
H A Dcount_stcx_fail.c110 setup_event(&events[0], PERF_COUNT_HW_INSTRUCTIONS, PERF_TYPE_HARDWARE, "instructions"); in test_body()
/openbmc/linux/drivers/perf/
H A Driscv_pmu_legacy.c28 else if (attr->config == PERF_COUNT_HW_INSTRUCTIONS) in pmu_legacy_ctr_get_idx()
88 event->attr.config != PERF_COUNT_HW_INSTRUCTIONS) in pmu_legacy_event_mapped()
97 event->attr.config != PERF_COUNT_HW_INSTRUCTIONS) in pmu_legacy_event_unmapped()
H A Driscv_pmu_sbi.c93 [PERF_COUNT_HW_INSTRUCTIONS] = {.hw_gen_event = {
362 } else if (event->attr.config == PERF_COUNT_HW_INSTRUCTIONS) { in pmu_sbi_ctr_get_idx()
928 event->attr.config != PERF_COUNT_HW_INSTRUCTIONS) { in pmu_sbi_event_mapped()
963 event->attr.config != PERF_COUNT_HW_INSTRUCTIONS) { in pmu_sbi_event_unmapped()
/openbmc/linux/tools/testing/selftests/powerpc/pmu/event_code_tests/
H A Dgeneric_events_valid_test.c39 event_init_opts(&event, PERF_COUNT_HW_INSTRUCTIONS, in generic_events_valid_test()
85 event_init_opts(&event, PERF_COUNT_HW_INSTRUCTIONS, PERF_TYPE_HARDWARE, "event"); in generic_events_valid_test()
/openbmc/linux/tools/perf/arch/x86/tests/
H A Damd-ibs-via-core-pmu.c18 { PERF_TYPE_HARDWARE, PERF_COUNT_HW_INSTRUCTIONS, false },
H A Dhybrid.c50 TEST_ASSERT_VAL("wrong config", test_config(evsel, PERF_COUNT_HW_INSTRUCTIONS)); in test__hybrid_hw_group_event()
105 TEST_ASSERT_VAL("wrong config", test_config(evsel, PERF_COUNT_HW_INSTRUCTIONS)); in test__hybrid_group_modifier1()
/openbmc/linux/arch/powerpc/perf/
H A De6500-pmu.c22 [PERF_COUNT_HW_INSTRUCTIONS] = 2,
H A De500-pmu.c19 [PERF_COUNT_HW_INSTRUCTIONS] = 2,
H A D8xx-pmu.c55 if (event->attr.config == PERF_COUNT_HW_INSTRUCTIONS) in event_type()
H A Dpower10-pmu.c286 [PERF_COUNT_HW_INSTRUCTIONS] = PM_INST_CMPL,
295 [PERF_COUNT_HW_INSTRUCTIONS] = PM_INST_CMPL,
/openbmc/linux/arch/x86/events/zhaoxin/
H A Dcore.c27 [PERF_COUNT_HW_INSTRUCTIONS] = 0x00c0,
485 { PERF_COUNT_HW_INSTRUCTIONS, "instructions" },
558 zx_pmon_event_map[PERF_COUNT_HW_INSTRUCTIONS] = 0; in zhaoxin_pmu_init()
/openbmc/linux/arch/mips/kernel/
H A Dperf_event_mipsxx.c940 [PERF_COUNT_HW_INSTRUCTIONS] = { 0x01, CNTR_EVEN | CNTR_ODD, T },
949 [PERF_COUNT_HW_INSTRUCTIONS] = { 0x01, CNTR_EVEN | CNTR_ODD, T },
956 [PERF_COUNT_HW_INSTRUCTIONS] = { 0x01, CNTR_EVEN | CNTR_ODD },
966 [PERF_COUNT_HW_INSTRUCTIONS] = { 0x00, CNTR_ODD },
973 [PERF_COUNT_HW_INSTRUCTIONS] = { 0x81, CNTR_ALL },
981 [PERF_COUNT_HW_INSTRUCTIONS] = { 0x01, CNTR_ALL },
990 [PERF_COUNT_HW_INSTRUCTIONS] = { 0x03, CNTR_ALL },
1001 [PERF_COUNT_HW_INSTRUCTIONS] = { 0x01, CNTR_EVEN | CNTR_ODD, T },
/openbmc/linux/arch/arm/kernel/
H A Dperf_event_v7.c161 [PERF_COUNT_HW_INSTRUCTIONS] = ARMV7_PERFCTR_INSTR_EXECUTED,
210 [PERF_COUNT_HW_INSTRUCTIONS] = ARMV7_A9_PERFCTR_INSTR_CORE_RENAME,
254 [PERF_COUNT_HW_INSTRUCTIONS] = ARMV7_PERFCTR_INSTR_EXECUTED,
300 [PERF_COUNT_HW_INSTRUCTIONS] = ARMV7_PERFCTR_INSTR_EXECUTED,
349 [PERF_COUNT_HW_INSTRUCTIONS] = ARMV7_PERFCTR_INSTR_EXECUTED,
398 [PERF_COUNT_HW_INSTRUCTIONS] = ARMV7_PERFCTR_INSTR_EXECUTED,
448 [PERF_COUNT_HW_INSTRUCTIONS] = ARMV7_PERFCTR_INSTR_EXECUTED,
457 [PERF_COUNT_HW_INSTRUCTIONS] = ARMV7_PERFCTR_INSTR_EXECUTED,
498 [PERF_COUNT_HW_INSTRUCTIONS] = ARMV7_PERFCTR_INSTR_EXECUTED,
H A Dperf_event_v6.c79 [PERF_COUNT_HW_INSTRUCTIONS] = ARMV6_PERFCTR_INSTR_EXEC,
147 [PERF_COUNT_HW_INSTRUCTIONS] = ARMV6MPCORE_PERFCTR_INSTR_EXEC,
/openbmc/linux/tools/perf/tests/attr/
H A Dtest-stat-default50 # PERF_TYPE_HARDWARE / PERF_COUNT_HW_INSTRUCTIONS
H A Dtest-stat-detailed-152 # PERF_TYPE_HARDWARE / PERF_COUNT_HW_INSTRUCTIONS
H A Dtest-stat-detailed-252 # PERF_TYPE_HARDWARE / PERF_COUNT_HW_INSTRUCTIONS
/openbmc/linux/tools/perf/util/
H A Dparse-events.l252 instructions { return hw_term(yyscanner, PERF_COUNT_HW_INSTRUCTIONS); }
305 instructions { return sym(yyscanner, PERF_TYPE_HARDWARE, PERF_COUNT_HW_INSTRUCTIONS); }
/openbmc/linux/arch/x86/events/intel/
H A Dp6.c13 [PERF_COUNT_HW_INSTRUCTIONS] = 0x00c0, /* INST_RETIRED */
/openbmc/linux/arch/sh/kernel/cpu/sh4a/
H A Dperf_event.c101 [PERF_COUNT_HW_INSTRUCTIONS] = 0x0202,
/openbmc/linux/arch/sh/kernel/cpu/sh4/
H A Dperf_event.c76 [PERF_COUNT_HW_INSTRUCTIONS] = 0x000a,
/openbmc/linux/tools/testing/selftests/perf_events/
H A Dremove_on_exec.c42 .config = PERF_COUNT_HW_INSTRUCTIONS, in make_event_attr()
/openbmc/linux/arch/s390/kernel/
H A Dperf_cpum_cf.c718 [PERF_COUNT_HW_INSTRUCTIONS] = 1,
728 [PERF_COUNT_HW_INSTRUCTIONS] = 33,
739 cpumf_generic_events_user[PERF_COUNT_HW_INSTRUCTIONS] == ev; in is_userspace_event()
847 cpumf_generic_events_basic[PERF_COUNT_HW_INSTRUCTIONS] == ev || in cpumf_pmu_event_type()
849 cpumf_generic_events_user[PERF_COUNT_HW_INSTRUCTIONS] == ev) in cpumf_pmu_event_type()

123