Home
last modified time | relevance | path

Searched refs:event_open (Results 1 – 25 of 67) sorted by relevance

123

/linux-6.6.21/tools/testing/selftests/powerpc/pmu/event_code_tests/
Dgeneric_events_valid_test.c36 FAIL_IF(event_open(&event)); in generic_events_valid_test()
41 FAIL_IF(event_open(&event)); in generic_events_valid_test()
46 FAIL_IF(event_open(&event)); in generic_events_valid_test()
50 FAIL_IF(event_open(&event)); in generic_events_valid_test()
55 FAIL_IF(event_open(&event)); in generic_events_valid_test()
59 FAIL_IF(event_open(&event)); in generic_events_valid_test()
63 FAIL_IF(!event_open(&event)); in generic_events_valid_test()
67 FAIL_IF(!event_open(&event)); in generic_events_valid_test()
71 FAIL_IF(!event_open(&event)); in generic_events_valid_test()
74 FAIL_IF(!event_open(&event)); in generic_events_valid_test()
[all …]
Dreserved_bits_mmcra_sample_elig_mode_test.c37 FAIL_IF(!event_open(&event)); in reserved_bits_mmcra_sample_elig_mode()
40 FAIL_IF(!event_open(&event)); in reserved_bits_mmcra_sample_elig_mode()
43 FAIL_IF(!event_open(&event)); in reserved_bits_mmcra_sample_elig_mode()
46 FAIL_IF(!event_open(&event)); in reserved_bits_mmcra_sample_elig_mode()
49 FAIL_IF(!event_open(&event)); in reserved_bits_mmcra_sample_elig_mode()
52 FAIL_IF(!event_open(&event)); in reserved_bits_mmcra_sample_elig_mode()
55 FAIL_IF(!event_open(&event)); in reserved_bits_mmcra_sample_elig_mode()
64 FAIL_IF(!event_open(&event)); in reserved_bits_mmcra_sample_elig_mode()
67 FAIL_IF(!event_open(&event)); in reserved_bits_mmcra_sample_elig_mode()
Dgroup_constraint_pmc56_test.c30 FAIL_IF(!event_open(&event)); in group_constraint_pmc56()
33 FAIL_IF(!event_open(&event)); in group_constraint_pmc56()
41 FAIL_IF(!event_open(&event)); in group_constraint_pmc56()
44 FAIL_IF(!event_open(&event)); in group_constraint_pmc56()
47 FAIL_IF(!event_open(&event)); in group_constraint_pmc56()
55 FAIL_IF(!event_open(&event)); in group_constraint_pmc56()
Dinvalid_event_code_test.c47 FAIL_IF(event_open(&event)); in invalid_event_code()
51 FAIL_IF(event_open(&event)); in invalid_event_code()
55 FAIL_IF(!event_open(&event)); in invalid_event_code()
58 FAIL_IF(!event_open(&event)); in invalid_event_code()
Devent_alternatives_tests_p9.c45 FAIL_IF(event_open(&leader)); in event_alternatives_tests_p9()
59 FAIL_IF(event_open(&leader)); in event_alternatives_tests_p9()
72 FAIL_IF(event_open(&leader)); in event_alternatives_tests_p9()
85 FAIL_IF(event_open(&leader)); in event_alternatives_tests_p9()
98 FAIL_IF(event_open(&leader)); in event_alternatives_tests_p9()
Dhw_cache_event_type_test.c58 FAIL_IF(event_open(&event)); in hw_cache_event_type_test()
65 FAIL_IF(!event_open(&event)); in hw_cache_event_type_test()
72 FAIL_IF(!event_open(&event)); in hw_cache_event_type_test()
79 FAIL_IF(!event_open(&event)); in hw_cache_event_type_test()
Dreserved_bits_mmcra_thresh_ctl_test.c33 FAIL_IF(!event_open(&event)); in reserved_bits_mmcra_thresh_ctl()
36 FAIL_IF(!event_open(&event)); in reserved_bits_mmcra_thresh_ctl()
Dgroup_constraint_unit_test.c45 FAIL_IF(!event_open(&events[0])); in group_constraint_unit()
52 FAIL_IF(event_open(&events[1])); in group_constraint_unit()
Dgroup_constraint_thresh_cmp_test.c45 FAIL_IF(event_open(&leader)); in group_constraint_thresh_cmp()
71 FAIL_IF(event_open(&leader)); in group_constraint_thresh_cmp()
Dblacklisted_events_test.c117 FAIL_IF(!event_open(&event)); in blacklisted_events()
122 FAIL_IF(!event_open(&event)); in blacklisted_events()
Devent_alternatives_tests_p10.c62 FAIL_IF(event_open(&events[0])); in event_alternatives_tests_p10()
90 FAIL_IF(event_open(&events[0])); in event_alternatives_tests_p10()
Dgroup_constraint_repeat_test.c35 FAIL_IF(event_open(&leader)); in group_constraint_repeat()
Dgroup_constraint_mmcra_sample_test.c33 FAIL_IF(event_open(&leader)); in group_constraint_mmcra_sample()
Dgroup_constraint_radix_scope_qual_test.c36 FAIL_IF(event_open(&leader)); in group_constraint_radix_scope_qual()
Dgroup_constraint_cache_test.c36 FAIL_IF(event_open(&leader)); in group_constraint_cache()
Dgroup_constraint_thresh_sel_test.c39 FAIL_IF(event_open(&leader)); in group_constraint_thresh_sel()
Dgroup_pmc56_exclude_constraints_test.c44 FAIL_IF(event_open(&events[0])); in group_pmc56_exclude_constraints()
Dgroup_constraint_thresh_ctl_test.c40 FAIL_IF(event_open(&leader)); in group_constraint_thresh_ctl()
Dgroup_constraint_l2l3_sel_test.c40 FAIL_IF(event_open(&leader)); in group_constraint_l2l3_sel()
/linux-6.6.21/tools/testing/selftests/powerpc/pmu/ebb/
Devent_attributes_test.c24 FAIL_IF(event_open(&event)); in event_attributes()
31 FAIL_IF(event_open(&event) == 0); in event_attributes()
38 FAIL_IF(event_open(&event) == 0); in event_attributes()
45 FAIL_IF(event_open(&event) == 0); in event_attributes()
52 FAIL_IF(event_open(&event) == 0); in event_attributes()
59 FAIL_IF(event_open(&event) == 0); in event_attributes()
66 FAIL_IF(event_open(&event) == 0); in event_attributes()
71 FAIL_IF(event_open(&leader)); in event_attributes()
84 FAIL_IF(event_open(&leader)); in event_attributes()
98 FAIL_IF(event_open(&leader)); in event_attributes()
[all …]
/linux-6.6.21/tools/testing/selftests/powerpc/pmu/sampling_tests/
Dbhrb_filter_map_test.c69 FAIL_IF(!event_open(&event)); in bhrb_filter_map_test()
75 FAIL_IF(event_open(&event)); in bhrb_filter_map_test()
89 FAIL_IF(event_open(&event)); in bhrb_filter_map_test()
95 FAIL_IF(!event_open(&event)); in bhrb_filter_map_test()
106 FAIL_IF(!event_open(&event)); in bhrb_filter_map_test()
Dbhrb_no_crash_wo_pmu_test.c50 event_open(&event); in bhrb_no_crash_wo_pmu_test()
Dintr_regs_no_crash_wo_pmu_test.c48 event_open(&event); in intr_regs_no_crash_wo_pmu_test()
/linux-6.6.21/tools/perf/tests/
Devent_groups.c31 static int event_open(int type, unsigned long config, int group_fd) in event_open() function
70 fd = event_open(types[2], configs[2], -1); in setup_uncore_event()
86 group_fd = event_open(types[i], configs[i], -1); in run_test()
90 sibling_fd1 = event_open(types[j], configs[j], group_fd); in run_test()
96 sibling_fd2 = event_open(types[k], configs[k], group_fd); in run_test()
/linux-6.6.21/tools/perf/arch/x86/tests/
Damd-ibs-via-core-pmu.c24 static int event_open(int type, unsigned long config) in event_open() function
52 fd = event_open(sub_tests[i].type, sub_tests[i].config); in test__amd_ibs_via_core_pmu()

123