/openbmc/linux/drivers/perf/ |
H A D | riscv_pmu_legacy.c | 26 if (attr->config == PERF_COUNT_HW_CPU_CYCLES) in pmu_legacy_ctr_get_idx() 87 if (event->attr.config != PERF_COUNT_HW_CPU_CYCLES && in pmu_legacy_event_mapped() 96 if (event->attr.config != PERF_COUNT_HW_CPU_CYCLES && in pmu_legacy_event_unmapped()
|
/openbmc/linux/tools/perf/arch/x86/tests/ |
H A D | hybrid.c | 32 TEST_ASSERT_VAL("wrong config", test_config(evsel, PERF_COUNT_HW_CPU_CYCLES)); in test__hybrid_hw_event_with_pmu() 44 TEST_ASSERT_VAL("wrong config", test_config(evsel, PERF_COUNT_HW_CPU_CYCLES)); in test__hybrid_hw_group_event() 67 TEST_ASSERT_VAL("wrong config", test_config(evsel, PERF_COUNT_HW_CPU_CYCLES)); in test__hybrid_sw_hw_group_event() 80 TEST_ASSERT_VAL("wrong config", test_config(evsel, PERF_COUNT_HW_CPU_CYCLES)); in test__hybrid_hw_sw_group_event() 97 TEST_ASSERT_VAL("wrong config", test_config(evsel, PERF_COUNT_HW_CPU_CYCLES)); in test__hybrid_group_modifier1()
|
H A D | amd-ibs-via-core-pmu.c | 17 { PERF_TYPE_HARDWARE, PERF_COUNT_HW_CPU_CYCLES, true },
|
H A D | intel-cqm.c | 76 pe.config = PERF_COUNT_HW_CPU_CYCLES; in test__intel_cqm_count_nmi_context()
|
/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() 81 event_init_opts(&event, PERF_COUNT_HW_CPU_CYCLES, PERF_TYPE_HARDWARE, "event"); in generic_events_valid_test()
|
/openbmc/linux/tools/perf/tests/ |
H A D | parse-events.c | 882 TEST_ASSERT_VAL("wrong config", test_config(evsel, PERF_COUNT_HW_CPU_CYCLES)); in test__group1() 943 TEST_ASSERT_VAL("wrong config", test_config(evsel, PERF_COUNT_HW_CPU_CYCLES)); in test__group2() 991 test_config(evsel, PERF_COUNT_HW_CPU_CYCLES)) { in test__group3() 1076 TEST_ASSERT_VAL("wrong config", test_config(evsel, PERF_COUNT_HW_CPU_CYCLES)); in test__group4() 1121 TEST_ASSERT_VAL("wrong config", test_config(evsel, PERF_COUNT_HW_CPU_CYCLES)); in test__group5() 1152 TEST_ASSERT_VAL("wrong config", test_config(evsel, PERF_COUNT_HW_CPU_CYCLES)); in test__group5() 1182 TEST_ASSERT_VAL("wrong config", test_config(evsel, PERF_COUNT_HW_CPU_CYCLES)); in test__group5() 1682 TEST_ASSERT_VAL("wrong config", test_config(evsel, PERF_COUNT_HW_CPU_CYCLES)); in test__sym_event_slash() 1692 TEST_ASSERT_VAL("wrong config", test_config(evsel, PERF_COUNT_HW_CPU_CYCLES)); in test__sym_event_dc() 1702 TEST_ASSERT_VAL("wrong config", test_config(evsel, PERF_COUNT_HW_CPU_CYCLES)); in test__term_equal_term() [all …]
|
/openbmc/linux/arch/powerpc/perf/ |
H A D | e6500-pmu.c | 21 [PERF_COUNT_HW_CPU_CYCLES] = 1,
|
H A D | e500-pmu.c | 18 [PERF_COUNT_HW_CPU_CYCLES] = 1,
|
H A D | 8xx-pmu.c | 53 if (event->attr.config == PERF_COUNT_HW_CPU_CYCLES) in event_type()
|
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | get_stackid_cannot_attach.c | 11 .config = PERF_COUNT_HW_CPU_CYCLES, in test_get_stackid_cannot_attach()
|
H A D | perf_event_stackmap.c | 58 .config = PERF_COUNT_HW_CPU_CYCLES, in test_perf_event_stackmap()
|
H A D | get_branch_snapshot.c | 41 attr.config = PERF_COUNT_HW_CPU_CYCLES; in create_perf_events()
|
H A D | find_vma.c | 33 attr.config = PERF_COUNT_HW_CPU_CYCLES; in open_pe()
|
H A D | stacktrace_build_id_nmi.c | 13 .config = PERF_COUNT_HW_CPU_CYCLES, in test_stacktrace_build_id_nmi()
|
H A D | perf_branches.c | 111 attr.config = PERF_COUNT_HW_CPU_CYCLES; in test_perf_branches_hw()
|
H A D | send_signal.c | 173 .config = PERF_COUNT_HW_CPU_CYCLES, in test_send_signal_nmi()
|
/openbmc/linux/tools/lib/perf/Documentation/examples/ |
H A D | sampling.c | 31 .config = PERF_COUNT_HW_CPU_CYCLES, in main()
|
/openbmc/linux/arch/mips/kernel/ |
H A D | perf_event_mipsxx.c | 939 [PERF_COUNT_HW_CPU_CYCLES] = { 0x00, CNTR_EVEN | CNTR_ODD, P }, 948 [PERF_COUNT_HW_CPU_CYCLES] = { 0x00, CNTR_EVEN | CNTR_ODD, P }, 955 [PERF_COUNT_HW_CPU_CYCLES] = { 0x00, CNTR_EVEN | CNTR_ODD }, 965 [PERF_COUNT_HW_CPU_CYCLES] = { 0x00, CNTR_EVEN }, 972 [PERF_COUNT_HW_CPU_CYCLES] = { 0x80, CNTR_ALL }, 980 [PERF_COUNT_HW_CPU_CYCLES] = { 0x00, CNTR_ALL }, 989 [PERF_COUNT_HW_CPU_CYCLES] = { 0x01, CNTR_ALL }, 1000 [PERF_COUNT_HW_CPU_CYCLES] = { 0x00, CNTR_EVEN | CNTR_ODD, T },
|
/openbmc/linux/tools/testing/selftests/powerpc/pmu/ |
H A D | count_instructions.c | 100 setup_event(&events[1], PERF_COUNT_HW_CPU_CYCLES, "cycles"); in test_body()
|
H A D | count_stcx_fail.c | 111 setup_event(&events[1], PERF_COUNT_HW_CPU_CYCLES, PERF_TYPE_HARDWARE, "cycles"); in test_body()
|
/openbmc/linux/arch/arm/kernel/ |
H A D | perf_event_v7.c | 160 [PERF_COUNT_HW_CPU_CYCLES] = ARMV7_PERFCTR_CPU_CYCLES, 209 [PERF_COUNT_HW_CPU_CYCLES] = ARMV7_PERFCTR_CPU_CYCLES, 253 [PERF_COUNT_HW_CPU_CYCLES] = ARMV7_PERFCTR_CPU_CYCLES, 299 [PERF_COUNT_HW_CPU_CYCLES] = ARMV7_PERFCTR_CPU_CYCLES, 348 [PERF_COUNT_HW_CPU_CYCLES] = ARMV7_PERFCTR_CPU_CYCLES, 397 [PERF_COUNT_HW_CPU_CYCLES] = ARMV7_PERFCTR_CPU_CYCLES, 447 [PERF_COUNT_HW_CPU_CYCLES] = ARMV7_PERFCTR_CPU_CYCLES, 456 [PERF_COUNT_HW_CPU_CYCLES] = ARMV7_PERFCTR_CPU_CYCLES, 497 [PERF_COUNT_HW_CPU_CYCLES] = ARMV7_PERFCTR_CPU_CYCLES,
|
/openbmc/linux/kernel/ |
H A D | watchdog_perf.c | 91 .config = PERF_COUNT_HW_CPU_CYCLES,
|
/openbmc/linux/tools/perf/arch/arm64/util/ |
H A D | perf_regs.c | 152 .config = PERF_COUNT_HW_CPU_CYCLES, in arch__user_reg_mask()
|
/openbmc/linux/tools/perf/tests/attr/ |
H A D | test-stat-default | 30 # PERF_TYPE_HARDWARE / PERF_COUNT_HW_CPU_CYCLES
|
/openbmc/linux/tools/perf/util/ |
H A D | parse-events.l | 249 cpu-cycles|cycles { return hw_term(yyscanner, PERF_COUNT_HW_CPU_CYCLES); } 302 cpu-cycles|cycles { return sym(yyscanner, PERF_TYPE_HARDWARE, PERF_COUNT_HW_CPU_CYCLES); }
|