Home
last modified time | relevance | path

Searched refs:PERF_TYPE_HARDWARE (Results 1 – 25 of 84) sorted by relevance

1234

/openbmc/linux/tools/testing/selftests/powerpc/pmu/event_code_tests/
H A Dgeneric_events_valid_test.c35 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 Dtest-stat-default30 # 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 Dtest-stat-detailed-131 # 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 Dtest-stat-detailed-231 # 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 Dtest-stat-detailed-331 # 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 Dparse-events.l108 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 Dper_event_excludes.c36 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 Dcount_stcx_fail.c110 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 Dcount_instructions.c21 event_init_opts(e, config, PERF_TYPE_HARDWARE, name); in setup_event()
/openbmc/linux/tools/perf/arch/x86/tests/
H A Dhybrid.c30 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 Damd-ibs-via-core-pmu.c17 { PERF_TYPE_HARDWARE, PERF_COUNT_HW_CPU_CYCLES, true },
18 { PERF_TYPE_HARDWARE, PERF_COUNT_HW_INSTRUCTIONS, false },
H A Dintel-cqm.c75 pe.type = PERF_TYPE_HARDWARE; in test__intel_cqm_count_nmi_context()
/openbmc/linux/tools/perf/tests/
H A Dparse-events.c42 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 Dintel-hybrid.txt58 (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 Dperf_event.c142 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 Dget_stackid_cannot_attach.c10 .type = PERF_TYPE_HARDWARE, in test_get_stackid_cannot_attach()
H A Dperf_event_stackmap.c57 .type = PERF_TYPE_HARDWARE, in test_perf_event_stackmap()
H A Dget_branch_snapshot.c40 attr.type = PERF_TYPE_HARDWARE; in create_perf_events()
H A Dfind_vma.c32 attr.type = PERF_TYPE_HARDWARE; in open_pe()
H A Dstacktrace_build_id_nmi.c12 .type = PERF_TYPE_HARDWARE, in test_stacktrace_build_id_nmi()
H A Dperf_branches.c110 attr.type = PERF_TYPE_HARDWARE; in test_perf_branches_hw()
H A Dsend_signal.c172 .type = PERF_TYPE_HARDWARE, in test_send_signal_nmi()
/openbmc/linux/tools/lib/perf/Documentation/examples/
H A Dsampling.c30 .type = PERF_TYPE_HARDWARE, in main()
/openbmc/linux/drivers/perf/
H A Driscv_pmu_legacy.c24 if (event->attr.type != PERF_TYPE_HARDWARE) in pmu_legacy_ctr_get_idx()
/openbmc/linux/kernel/
H A Dwatchdog_perf.c90 .type = PERF_TYPE_HARDWARE,

1234