Home
last modified time | relevance | path

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

1234

/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()
49 event_init_opts(&event, PERF_COUNT_HW_CACHE_MISSES, PERF_TYPE_HARDWARE, "event"); in generic_events_valid_test()
54 PERF_TYPE_HARDWARE, "event"); in generic_events_valid_test()
58 event_init_opts(&event, PERF_COUNT_HW_BRANCH_MISSES, 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()
73 event_init_opts(&event, PERF_COUNT_HW_REF_CPU_CYCLES, PERF_TYPE_HARDWARE, "event"); in generic_events_valid_test()
[all …]
/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
/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()
/linux/tools/perf/util/
H A Dparse-events.l121 return type == PERF_TYPE_HARDWARE ? PE_VALUE_SYM_HW : PE_VALUE_SYM_SW; in sym()
146 yylval->hardware_term.num = PERF_TYPE_HARDWARE + config; in hw_term()
387 cpu-cycles|cycles { return sym(yyscanner, PERF_TYPE_HARDWARE, PERF_COUNT_HW_CPU_CYCLES); }
388 stalled-cycles-frontend|idle-cycles-frontend { return sym(yyscanner, PERF_TYPE_HARDWARE, PERF_COUNT…
389 stalled-cycles-backend|idle-cycles-backend { return sym(yyscanner, PERF_TYPE_HARDWARE, PERF_COUNT_H…
390 instructions { return sym(yyscanner, PERF_TYPE_HARDWARE, PERF_COUNT_HW_INSTRUCTIONS); }
391 cache-references { return sym(yyscanner, PERF_TYPE_HARDWARE, PERF_COUNT_HW_CACHE_REFERENCES); }
392 cache-misses { return sym(yyscanner, PERF_TYPE_HARDWARE, PERF_COUNT_HW_CACHE_MISSES); }
393 branch-instructions|branches { return sym(yyscanner, PERF_TYPE_HARDWARE, PERF_COUNT_HW_BRANCH_INS…
394 branch-misses { return sym(yyscanner, PERF_TYPE_HARDWARE, PERF_COUNT_HW_BRANCH_MISSES); }
[all …]
H A Dperf_event_attr_fprintf.c86 ENUM_ID_TO_STR_CASE(PERF_TYPE_HARDWARE) in stringify_perf_type_id()
234 case PERF_TYPE_HARDWARE: in __p_config_id()
/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()
172 TEST_ASSERT_VAL("wrong type", PERF_TYPE_HARDWARE == evsel->core.attr.type); in test__hybrid_hw_group_event_2()
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()
/linux/kernel/
H A Dwatchdog_perf.c90 .type = PERF_TYPE_HARDWARE,
98 .type = PERF_TYPE_HARDWARE,
/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.
/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()
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dperf_event_stackmap.c57 .type = PERF_TYPE_HARDWARE, in test_perf_event_stackmap()
H A Dget_stackid_cannot_attach.c10 .type = PERF_TYPE_HARDWARE, in test_get_stackid_cannot_attach()
H A Dget_branch_snapshot.c40 attr.type = PERF_TYPE_HARDWARE; in create_perf_events()
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()
/linux/tools/lib/perf/Documentation/examples/
H A Dsampling.c30 .type = PERF_TYPE_HARDWARE, in main()
/linux/tools/testing/selftests/resctrl/
H A Dcache.c11 pea->type = PERF_TYPE_HARDWARE; in perf_event_attr_initialize()
/linux/arch/powerpc/perf/
H A D8xx-pmu.c52 case PERF_TYPE_HARDWARE: in event_type()

1234