/kernel/linux/linux-6.6/tools/testing/selftests/powerpc/pmu/event_code_tests/ |
H A D | generic_events_valid_test.c | 36 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( in generic_events_valid_test() [all...] |
H A D | reserved_bits_mmcra_sample_elig_mode_test.c | 16 * bit values should cause event_open to fail. 37 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( in reserved_bits_mmcra_sample_elig_mode() [all...] |
H A D | group_constraint_pmc56_test.c | 30 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 D | hw_cache_event_type_test.c | 58 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 D | invalid_event_code_test.c | 30 * 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 D | event_alternatives_tests_p9.c | 45 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 D | reserved_bits_mmcra_thresh_ctl_test.c | 33 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 D | group_constraint_unit_test.c | 25 * value is within 6 to 9 otherwise event_open for the group will fail. 45 FAIL_IF(!event_open(&events[0])); in group_constraint_unit() 52 FAIL_IF(event_open(&events[1])); in group_constraint_unit()
|
H A D | group_constraint_thresh_cmp_test.c | 30 * 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 D | blacklisted_events_test.c | 94 * event code should cause event_open to fail in power9 117 FAIL_IF(!event_open(&event)); in blacklisted_events() 122 FAIL_IF(!event_open(&event)); in blacklisted_events()
|
H A D | event_alternatives_tests_p10.c | 62 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 D | group_constraint_l2l3_sel_test.c | 25 * event_open for the group should fail. 40 FAIL_IF(event_open(&leader)); in group_constraint_l2l3_sel()
|
/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/pmu/ebb/ |
H A D | event_attributes_test.c | 24 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( in event_attributes() [all...] |
H A D | close_clears_pmcc_test.c | 28 FAIL_IF(event_open(&event)); in close_clears_pmcc()
|
H A D | cycles_test.c | 28 FAIL_IF(event_open(&event)); in cycles()
|
H A D | no_handler_test.c | 31 FAIL_IF(event_open(&event)); in no_handler_test()
|
/kernel/linux/linux-6.6/tools/testing/selftests/powerpc/pmu/ebb/ |
H A D | event_attributes_test.c | 24 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( in event_attributes() [all...] |
H A D | regs_access_pmccext_test.c | 29 FAIL_IF(event_open(&event)); in regs_access_pmccext()
|
H A D | no_handler_test.c | 31 FAIL_IF(event_open(&event)); in no_handler_test()
|
/kernel/linux/linux-6.6/tools/testing/selftests/powerpc/pmu/sampling_tests/ |
H A D | bhrb_filter_map_test.c | 62 /* 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 which are expected to pass in event_open */ 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 D | bhrb_no_crash_wo_pmu_test.c | 45 * Return code of event_open is not in bhrb_no_crash_wo_pmu_test() 50 event_open(&event); in bhrb_no_crash_wo_pmu_test()
|
H A D | intr_regs_no_crash_wo_pmu_test.c | 44 * Return code of event_open is not considered in intr_regs_no_crash_wo_pmu_test() 48 event_open(&event); in intr_regs_no_crash_wo_pmu_test()
|
/kernel/linux/linux-6.6/tools/perf/tests/ |
H A D | event_groups.c | 31 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()
|
/kernel/linux/linux-6.6/tools/perf/arch/x86/tests/ |
H A D | amd-ibs-via-core-pmu.c | 24 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()
|
/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/pmu/ |
H A D | l3_bank_test.c | 31 FAIL_IF(event_open(&event)); in l3_bank_test()
|