/openbmc/linux/tools/testing/selftests/powerpc/pmu/event_code_tests/ |
H A D | generic_events_valid_test.c | 35 event_init_opts(&event, PERF_COUNT_HW_CPU_CYCLES, PERF_TYPE_HARDWARE, "event"); in generic_events_valid_test() 40 PERF_TYPE_HARDWARE, "event"); in generic_events_valid_test() 45 PERF_TYPE_HARDWARE, "event"); in generic_events_valid_test() 54 PERF_TYPE_HARDWARE, "event"); in generic_events_valid_test() 62 event_init_opts(&event, PERF_COUNT_HW_BUS_CYCLES, PERF_TYPE_HARDWARE, "event"); in generic_events_valid_test() 66 PERF_TYPE_HARDWARE, "event"); in generic_events_valid_test() 70 PERF_TYPE_HARDWARE, "event"); in generic_events_valid_test() 90 PERF_TYPE_HARDWARE, "event"); in generic_events_valid_test() 99 PERF_TYPE_HARDWARE, "event"); in generic_events_valid_test() 111 PERF_TYPE_HARDWARE, "event"); in generic_events_valid_test() [all …]
|
/openbmc/linux/tools/perf/tests/attr/ |
H A D | test-stat-default | 30 # PERF_TYPE_HARDWARE / PERF_COUNT_HW_CPU_CYCLES 37 # PERF_TYPE_HARDWARE / PERF_COUNT_HW_STALLED_CYCLES_FRONTEND 43 # PERF_TYPE_HARDWARE / PERF_COUNT_HW_STALLED_CYCLES_BACKEND 50 # PERF_TYPE_HARDWARE / PERF_COUNT_HW_INSTRUCTIONS 57 # PERF_TYPE_HARDWARE / PERF_COUNT_HW_BRANCH_INSTRUCTIONS 64 # PERF_TYPE_HARDWARE / PERF_COUNT_HW_BRANCH_MISSES
|
H A D | test-stat-detailed-1 | 31 # PERF_TYPE_HARDWARE / PERF_COUNT_HW_CPU_CYCLES 38 # PERF_TYPE_HARDWARE / PERF_COUNT_HW_STALLED_CYCLES_FRONTEND 45 # PERF_TYPE_HARDWARE / PERF_COUNT_HW_STALLED_CYCLES_BACKEND 52 # PERF_TYPE_HARDWARE / PERF_COUNT_HW_INSTRUCTIONS 59 # PERF_TYPE_HARDWARE / PERF_COUNT_HW_BRANCH_INSTRUCTIONS 66 # PERF_TYPE_HARDWARE / PERF_COUNT_HW_BRANCH_MISSES
|
H A D | test-stat-detailed-2 | 31 # PERF_TYPE_HARDWARE / PERF_COUNT_HW_CPU_CYCLES 38 # PERF_TYPE_HARDWARE / PERF_COUNT_HW_STALLED_CYCLES_FRONTEND 45 # PERF_TYPE_HARDWARE / PERF_COUNT_HW_STALLED_CYCLES_BACKEND 52 # PERF_TYPE_HARDWARE / PERF_COUNT_HW_INSTRUCTIONS 59 # PERF_TYPE_HARDWARE / PERF_COUNT_HW_BRANCH_INSTRUCTIONS 66 # PERF_TYPE_HARDWARE / PERF_COUNT_HW_BRANCH_MISSES
|
H A D | test-stat-detailed-3 | 31 # PERF_TYPE_HARDWARE / PERF_COUNT_HW_CPU_CYCLES 38 # PERF_TYPE_HARDWARE / PERF_COUNT_HW_STALLED_CYCLES_FRONTEND 45 # PERF_TYPE_HARDWARE / PERF_COUNT_HW_STALLED_CYCLES_BACKEND 52 # PERF_TYPE_HARDWARE / PERF_COUNT_HW_INSTRUCTIONS 59 # PERF_TYPE_HARDWARE / PERF_COUNT_HW_BRANCH_INSTRUCTIONS 66 # PERF_TYPE_HARDWARE / PERF_COUNT_HW_BRANCH_MISSES
|
/openbmc/linux/tools/perf/util/ |
H A D | parse-events.l | 108 return type == PERF_TYPE_HARDWARE ? PE_VALUE_SYM_HW : PE_VALUE_SYM_SW; in sym() 133 yylval->hardware_term.num = PERF_TYPE_HARDWARE + config; in hw_term() 302 cpu-cycles|cycles { return sym(yyscanner, PERF_TYPE_HARDWARE, PERF_COUNT_HW_CPU_CYCLES); } 304 stalled-cycles-backend|idle-cycles-backend { return sym(yyscanner, PERF_TYPE_HARDWARE, PERF_COUNT_H… 305 instructions { return sym(yyscanner, PERF_TYPE_HARDWARE, PERF_COUNT_HW_INSTRUCTIONS); } 306 cache-references { return sym(yyscanner, PERF_TYPE_HARDWARE, PERF_COUNT_HW_CACHE_REFERENCES); } 307 cache-misses { return sym(yyscanner, PERF_TYPE_HARDWARE, PERF_COUNT_HW_CACHE_MISSES); } 308 branch-instructions|branches { return sym(yyscanner, PERF_TYPE_HARDWARE, PERF_COUNT_HW_BRANCH_INS… 309 branch-misses { return sym(yyscanner, PERF_TYPE_HARDWARE, PERF_COUNT_HW_BRANCH_MISSES); } 310 bus-cycles { return sym(yyscanner, PERF_TYPE_HARDWARE, PERF_COUNT_HW_BUS_CYCLES); } [all …]
|
/openbmc/linux/tools/testing/selftests/powerpc/pmu/ |
H A D | per_event_excludes.c | 36 PERF_TYPE_HARDWARE, "instructions"); in per_event_excludes() 41 PERF_TYPE_HARDWARE, "instructions(k)"); in per_event_excludes() 48 PERF_TYPE_HARDWARE, "instructions(h)"); in per_event_excludes() 55 PERF_TYPE_HARDWARE, "instructions(u)"); in per_event_excludes()
|
H A D | count_stcx_fail.c | 110 setup_event(&events[0], PERF_COUNT_HW_INSTRUCTIONS, PERF_TYPE_HARDWARE, "instructions"); in test_body() 111 setup_event(&events[1], PERF_COUNT_HW_CPU_CYCLES, PERF_TYPE_HARDWARE, "cycles"); in test_body()
|
H A D | count_instructions.c | 21 event_init_opts(e, config, PERF_TYPE_HARDWARE, name); in setup_event()
|
/openbmc/linux/tools/perf/arch/x86/tests/ |
H A D | hybrid.c | 30 TEST_ASSERT_VAL("wrong type", PERF_TYPE_HARDWARE == evsel->core.attr.type); in test__hybrid_hw_event_with_pmu() 42 TEST_ASSERT_VAL("wrong type", PERF_TYPE_HARDWARE == evsel->core.attr.type); in test__hybrid_hw_group_event() 48 TEST_ASSERT_VAL("wrong type", PERF_TYPE_HARDWARE == evsel->core.attr.type); in test__hybrid_hw_group_event() 65 TEST_ASSERT_VAL("wrong type", PERF_TYPE_HARDWARE == evsel->core.attr.type); in test__hybrid_sw_hw_group_event() 78 TEST_ASSERT_VAL("wrong type", PERF_TYPE_HARDWARE == evsel->core.attr.type); in test__hybrid_hw_sw_group_event() 95 TEST_ASSERT_VAL("wrong type", PERF_TYPE_HARDWARE == evsel->core.attr.type); in test__hybrid_group_modifier1() 103 TEST_ASSERT_VAL("wrong type", PERF_TYPE_HARDWARE == evsel->core.attr.type); in test__hybrid_group_modifier1()
|
H A D | amd-ibs-via-core-pmu.c | 17 { PERF_TYPE_HARDWARE, PERF_COUNT_HW_CPU_CYCLES, true }, 18 { PERF_TYPE_HARDWARE, PERF_COUNT_HW_INSTRUCTIONS, false },
|
H A D | intel-cqm.c | 75 pe.type = PERF_TYPE_HARDWARE; in test__intel_cqm_count_nmi_context()
|
/openbmc/linux/tools/perf/tests/ |
H A D | parse-events.c | 42 if (type == PERF_TYPE_HARDWARE || type == PERF_TYPE_HW_CACHE) { in test_config() 172 TEST_ASSERT_VAL("wrong type", PERF_TYPE_HARDWARE == evsel->attr.type); in test__checkevent_symbolic_name() 186 TEST_ASSERT_VAL("wrong type", PERF_TYPE_HARDWARE == evsel->attr.type); in test__checkevent_symbolic_name_config() 866 TEST_ASSERT_VAL("wrong type", PERF_TYPE_HARDWARE == evsel->core.attr.type); in test__group1() 881 TEST_ASSERT_VAL("wrong type", PERF_TYPE_HARDWARE == evsel->core.attr.type); in test__group1() 927 if (evsel->core.attr.type == PERF_TYPE_HARDWARE && in test__group2() 942 TEST_ASSERT_VAL("wrong type", PERF_TYPE_HARDWARE == evsel->core.attr.type); in test__group2() 990 if (evsel->core.attr.type == PERF_TYPE_HARDWARE && in test__group3() 1681 TEST_ASSERT_VAL("wrong type", evsel->core.attr.type == PERF_TYPE_HARDWARE); in test__sym_event_slash() 1691 TEST_ASSERT_VAL("wrong type", evsel->core.attr.type == PERF_TYPE_HARDWARE); in test__sym_event_dc() [all …]
|
/openbmc/linux/tools/perf/Documentation/ |
H A D | intel-hybrid.txt | 58 (from atom or from core). The original perf event type PERF_TYPE_HARDWARE 66 The new attr.config layout for PERF_TYPE_HARDWARE: 68 PERF_TYPE_HARDWARE: 0xEEEEEEEE000000AA 111 type 0 is PERF_TYPE_HARDWARE.
|
/openbmc/linux/arch/sh/kernel/ |
H A D | perf_event.c | 142 case PERF_TYPE_HARDWARE: in __hw_perf_event_init() 291 case PERF_TYPE_HARDWARE: in sh_pmu_event_init()
|
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | get_stackid_cannot_attach.c | 10 .type = PERF_TYPE_HARDWARE, in test_get_stackid_cannot_attach()
|
H A D | perf_event_stackmap.c | 57 .type = PERF_TYPE_HARDWARE, in test_perf_event_stackmap()
|
H A D | get_branch_snapshot.c | 40 attr.type = PERF_TYPE_HARDWARE; in create_perf_events()
|
H A D | find_vma.c | 32 attr.type = PERF_TYPE_HARDWARE; in open_pe()
|
H A D | stacktrace_build_id_nmi.c | 12 .type = PERF_TYPE_HARDWARE, in test_stacktrace_build_id_nmi()
|
H A D | perf_branches.c | 110 attr.type = PERF_TYPE_HARDWARE; in test_perf_branches_hw()
|
H A D | send_signal.c | 172 .type = PERF_TYPE_HARDWARE, in test_send_signal_nmi()
|
/openbmc/linux/tools/lib/perf/Documentation/examples/ |
H A D | sampling.c | 30 .type = PERF_TYPE_HARDWARE, in main()
|
/openbmc/linux/drivers/perf/ |
H A D | riscv_pmu_legacy.c | 24 if (event->attr.type != PERF_TYPE_HARDWARE) in pmu_legacy_ctr_get_idx()
|
/openbmc/linux/kernel/ |
H A D | watchdog_perf.c | 90 .type = PERF_TYPE_HARDWARE,
|