/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() 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 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
|
/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()
|
/linux/tools/perf/util/ |
H A D | parse-events.l | 121 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 D | perf_event_attr_fprintf.c | 86 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 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() 172 TEST_ASSERT_VAL("wrong type", PERF_TYPE_HARDWARE == evsel->core.attr.type); in test__hybrid_hw_group_event_2()
|
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()
|
/linux/kernel/ |
H A D | watchdog_perf.c | 90 .type = PERF_TYPE_HARDWARE, 98 .type = PERF_TYPE_HARDWARE,
|
/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.
|
/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()
|
/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | perf_event_stackmap.c | 57 .type = PERF_TYPE_HARDWARE, in test_perf_event_stackmap()
|
H A D | get_stackid_cannot_attach.c | 10 .type = PERF_TYPE_HARDWARE, in test_get_stackid_cannot_attach()
|
H A D | get_branch_snapshot.c | 40 attr.type = PERF_TYPE_HARDWARE; in create_perf_events()
|
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()
|
/linux/tools/lib/perf/Documentation/examples/ |
H A D | sampling.c | 30 .type = PERF_TYPE_HARDWARE, in main()
|
/linux/tools/testing/selftests/resctrl/ |
H A D | cache.c | 11 pea->type = PERF_TYPE_HARDWARE; in perf_event_attr_initialize()
|
/linux/arch/powerpc/perf/ |
H A D | 8xx-pmu.c | 52 case PERF_TYPE_HARDWARE: in event_type()
|