Home
last modified time | relevance | path

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

123

/linux/tools/testing/selftests/powerpc/pmu/event_code_tests/
H A 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 …]
H A 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()
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.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()
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.c45 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.c62 FAIL_IF(event_open(&events[0])); in event_alternatives_tests_p10()
90 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.c36 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.c40 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.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()
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/tests/
H A 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/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()

123