Home
last modified time | relevance | path

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

123

/linux/tools/testing/selftests/powerpc/pmu/event_code_tests/
H A Dgeneric_events_valid_test.c37 FAIL_IF(event_open(&event)); in generic_events_valid_test()
42 FAIL_IF(event_open(&event)); in generic_events_valid_test()
47 FAIL_IF(event_open(&event)); in generic_events_valid_test()
51 FAIL_IF(event_open(&event)); in generic_events_valid_test()
56 FAIL_IF(event_open(&event)); in generic_events_valid_test()
60 FAIL_IF(event_open(&event)); in generic_events_valid_test()
64 FAIL_IF(!event_open(&event)); in generic_events_valid_test()
68 FAIL_IF(!event_open(&event)); in generic_events_valid_test()
72 FAIL_IF(!event_open(&event)); in generic_events_valid_test()
75 FAIL_IF(!event_open( in generic_events_valid_test()
[all...]
H A Dreserved_bits_mmcra_sample_elig_mode_test.c16 * bit values should cause event_open to fail.
38 FAIL_IF(!event_open(&event)); in reserved_bits_mmcra_sample_elig_mode()
41 FAIL_IF(!event_open(&event)); in reserved_bits_mmcra_sample_elig_mode()
44 FAIL_IF(!event_open(&event)); in reserved_bits_mmcra_sample_elig_mode()
47 FAIL_IF(!event_open(&event)); in reserved_bits_mmcra_sample_elig_mode()
50 FAIL_IF(!event_open(&event)); in reserved_bits_mmcra_sample_elig_mode()
53 FAIL_IF(!event_open(&event)); in reserved_bits_mmcra_sample_elig_mode()
56 FAIL_IF(!event_open(&event)); in reserved_bits_mmcra_sample_elig_mode()
65 FAIL_IF(!event_open(&event)); in reserved_bits_mmcra_sample_elig_mode()
68 FAIL_IF(!event_open( in reserved_bits_mmcra_sample_elig_mode()
[all...]
H A 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()
H A 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()
H A Dinvalid_event_code_test.c30 * event code should cause event_open to fail.
47 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()
H A 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()
H A 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()
H A 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()
H A Dgroup_constraint_thresh_cmp_test.c30 * event_open for the group will fail.
45 FAIL_IF(event_open(&leader)); in group_constraint_thresh_cmp()
71 FAIL_IF(event_open(&leader)); in group_constraint_thresh_cmp()
H A Devent_alternatives_tests_p10.c63 FAIL_IF(event_open(&events[0])); in event_alternatives_tests_p10()
91 FAIL_IF(event_open(&events[0])); in event_alternatives_tests_p10()
H A Dblacklisted_events_test.c117 FAIL_IF(!event_open(&event)); in blacklisted_events()
122 FAIL_IF(!event_open(&event)); in blacklisted_events()
H A Dgroup_constraint_repeat_test.c35 FAIL_IF(event_open(&leader)); in group_constraint_repeat()
H A Dgroup_constraint_mmcra_sample_test.c33 FAIL_IF(event_open(&leader)); in group_constraint_mmcra_sample()
H A Dgroup_constraint_radix_scope_qual_test.c20 * bits otherwise event_open for the group should fail.
36 FAIL_IF(event_open(&leader)); in group_constraint_radix_scope_qual()
H A Dgroup_constraint_cache_test.c36 FAIL_IF(event_open(&leader)); in group_constraint_cache()
H A Dgroup_constraint_thresh_sel_test.c39 FAIL_IF(event_open(&leader)); in group_constraint_thresh_sel()
H A Dgroup_constraint_thresh_ctl_test.c40 FAIL_IF(event_open(&leader)); in group_constraint_thresh_ctl()
H A Dgroup_pmc56_exclude_constraints_test.c44 FAIL_IF(event_open(&events[0])); in group_pmc56_exclude_constraints()
H A Dgroup_constraint_l2l3_sel_test.c25 * event_open for the group should fail.
40 FAIL_IF(event_open(&leader)); in group_constraint_l2l3_sel()
/linux/tools/testing/selftests/powerpc/pmu/ebb/
H A 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/tools/testing/selftests/powerpc/pmu/sampling_tests/
H A Dbhrb_filter_map_test.c62 /* Invalid filter maps which are expected to fail in event_open */ in bhrb_filter_map_test()
69 FAIL_IF(!event_open(&event)); in bhrb_filter_map_test()
72 /* valid filter maps for power9/power10/power11 which are expected to pass in event_open */ in bhrb_filter_map_test()
75 FAIL_IF(event_open(&event)); in bhrb_filter_map_test()
91 FAIL_IF(event_open(&event)); in bhrb_filter_map_test()
98 FAIL_IF(!event_open(&event)); in bhrb_filter_map_test()
109 FAIL_IF(!event_open(&event)); in bhrb_filter_map_test()
H A Dintr_regs_no_crash_wo_pmu_test.c48 event_open(&event); in intr_regs_no_crash_wo_pmu_test()
H A Dbhrb_no_crash_wo_pmu_test.c50 event_open(&event); in bhrb_no_crash_wo_pmu_test()
/linux/tools/perf/arch/x86/tests/
H A 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()
/linux/tools/testing/selftests/powerpc/pmu/
H A Dl3_bank_test.c31 FAIL_IF(event_open(&event)); in l3_bank_test()

123