Home
last modified time | relevance | path

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

1234

/openbmc/linux/drivers/perf/
H A Driscv_pmu_legacy.c26 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 Dhybrid.c32 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 Damd-ibs-via-core-pmu.c17 { PERF_TYPE_HARDWARE, PERF_COUNT_HW_CPU_CYCLES, true },
H A Dintel-cqm.c76 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 Dgeneric_events_valid_test.c35 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 Dparse-events.c882 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 De6500-pmu.c21 [PERF_COUNT_HW_CPU_CYCLES] = 1,
H A De500-pmu.c18 [PERF_COUNT_HW_CPU_CYCLES] = 1,
H A D8xx-pmu.c53 if (event->attr.config == PERF_COUNT_HW_CPU_CYCLES) in event_type()
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Dget_stackid_cannot_attach.c11 .config = PERF_COUNT_HW_CPU_CYCLES, in test_get_stackid_cannot_attach()
H A Dperf_event_stackmap.c58 .config = PERF_COUNT_HW_CPU_CYCLES, in test_perf_event_stackmap()
H A Dget_branch_snapshot.c41 attr.config = PERF_COUNT_HW_CPU_CYCLES; in create_perf_events()
H A Dfind_vma.c33 attr.config = PERF_COUNT_HW_CPU_CYCLES; in open_pe()
H A Dstacktrace_build_id_nmi.c13 .config = PERF_COUNT_HW_CPU_CYCLES, in test_stacktrace_build_id_nmi()
H A Dperf_branches.c111 attr.config = PERF_COUNT_HW_CPU_CYCLES; in test_perf_branches_hw()
H A Dsend_signal.c173 .config = PERF_COUNT_HW_CPU_CYCLES, in test_send_signal_nmi()
/openbmc/linux/tools/lib/perf/Documentation/examples/
H A Dsampling.c31 .config = PERF_COUNT_HW_CPU_CYCLES, in main()
/openbmc/linux/arch/mips/kernel/
H A Dperf_event_mipsxx.c939 [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 Dcount_instructions.c100 setup_event(&events[1], PERF_COUNT_HW_CPU_CYCLES, "cycles"); in test_body()
H A Dcount_stcx_fail.c111 setup_event(&events[1], PERF_COUNT_HW_CPU_CYCLES, PERF_TYPE_HARDWARE, "cycles"); in test_body()
/openbmc/linux/arch/arm/kernel/
H A Dperf_event_v7.c160 [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 Dwatchdog_perf.c91 .config = PERF_COUNT_HW_CPU_CYCLES,
/openbmc/linux/tools/perf/arch/arm64/util/
H A Dperf_regs.c152 .config = PERF_COUNT_HW_CPU_CYCLES, in arch__user_reg_mask()
/openbmc/linux/tools/perf/tests/attr/
H A Dtest-stat-default30 # PERF_TYPE_HARDWARE / PERF_COUNT_HW_CPU_CYCLES
/openbmc/linux/tools/perf/util/
H A Dparse-events.l249 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); }

1234