| /linux/tools/perf/arch/x86/include/ |
| H A D | arch-tests.h | 7 struct test_suite; 10 int test__rdpmc(struct test_suite *test, int subtest); 12 int test__insn_x86(struct test_suite *test, int subtest); 14 int test__intel_pt_pkt_decoder(struct test_suite *test, int subtest); 15 int test__intel_pt_hybrid_compat(struct test_suite *test, int subtest); 16 int test__bp_modify(struct test_suite *test, int subtest); 17 int test__amd_ibs_via_core_pmu(struct test_suite *test, int subtest); 18 int test__amd_ibs_period(struct test_suite *test, int subtest); 19 int test__hybrid(struct test_suite *test, int subtest); 23 extern struct test_suite *arch_tests[];
|
| /linux/tools/perf/tests/ |
| H A D | tests-scripts.c | 154 static int shell_test__run(struct test_suite *test, int subtest __maybe_unused) in shell_test__run() 171 struct test_suite ***result, in append_script() 175 struct test_suite *test_suite, **result_tmp; in append_script() local 202 test_suite = zalloc(sizeof(*test_suite)); in append_script() 203 if (!test_suite) { in append_script() 208 test_suite->desc = desc; in append_script() 209 test_suite->test_cases = tests; in append_script() 210 test_suite->priv = strdup_check(filename); in append_script() 217 free(test_suite); in append_script() 222 (*result)[*result_sz] = test_suite; in append_script() [all …]
|
| H A D | builtin-test.c | 60 extern struct test_suite *arch_tests[]; 62 static struct test_suite *arch_tests[] = { 67 static struct test_suite *generic_tests[] = { 234 static int test_suite__num_test_cases(const struct test_suite *t) in test_suite__num_test_cases() 243 static const char *skip_reason(const struct test_suite *t, int test_case) in skip_reason() 251 static const char *test_description(const struct test_suite *t, int test_case) in test_description() 259 static test_fnptr test_function(const struct test_suite *t, int test_case) in test_function() 267 static bool test_exclusive(const struct test_suite *t, int test_case) in test_exclusive() 301 struct test_suite *test; 358 static int print_test_result(struct test_suite *t, int curr_suite, int curr_test_case, in print_test_result() [all …]
|
| H A D | pfm.c | 27 static int test__pfm_events(struct test_suite *test __maybe_unused, in test__pfm_events() 88 static int test__pfm_group(struct test_suite *test __maybe_unused, in test__pfm_group() 173 static int test__pfm_events(struct test_suite *test __maybe_unused, in test__pfm_events() 179 static int test__pfm_group(struct test_suite *test __maybe_unused, in test__pfm_group() 192 struct test_suite suite__pfm = {
|
| H A D | subcmd-help.c | 6 static int test__load_cmdnames(struct test_suite *test __maybe_unused, in test__load_cmdnames() 23 static int test__uniq_cmdnames(struct test_suite *test __maybe_unused, in test__uniq_cmdnames() 46 static int test__exclude_cmdnames(struct test_suite *test __maybe_unused, in test__exclude_cmdnames() 98 static int test__exclude_cmdnames_no_overlap(struct test_suite *test __maybe_unused, in test__exclude_cmdnames_no_overlap() 131 struct test_suite suite__subcmd_help = {
|
| H A D | tests.h | 31 struct test_suite; 33 typedef int (*test_fnptr)(struct test_suite *, int); 43 struct test_suite { struct 50 extern struct test_suite suite__##name; argument 89 struct test_suite suite__##_name = { \ 99 struct test_suite suite__##_name = { \
|
| H A D | wp.c | 76 static int test__wp_ro(struct test_suite *test __maybe_unused, in test__wp_ro() 100 static int test__wp_wo(struct test_suite *test __maybe_unused, in test__wp_wo() 124 static int test__wp_rw(struct test_suite *test __maybe_unused, in test__wp_rw() 149 static int test__wp_modify(struct test_suite *test __maybe_unused, int subtest __maybe_unused) in test__wp_modify() 211 struct test_suite suite__wp = {
|
| H A D | pmu.c | 158 static int test__pmu_format(struct test_suite *test __maybe_unused, int subtest __maybe_unused) in test__pmu_format() 204 static int test__pmu_usr_chgs(struct test_suite *test __maybe_unused, int subtest __maybe_unused) in test__pmu_usr_chgs() 295 static int test__pmu_events(struct test_suite *test __maybe_unused, int subtest __maybe_unused) in test__pmu_events() 388 static int test__pmu_event_names(struct test_suite *test __maybe_unused, in test__pmu_event_names() 501 static int test__name_len(struct test_suite *test __maybe_unused, int subtest __maybe_unused) in test__name_len() 519 static int test__name_cmp(struct test_suite *test __maybe_unused, int subtest __maybe_unused) in test__name_cmp() 549 static int test__pmu_match(struct test_suite *test __maybe_unused, int subtest __maybe_unused) in test__pmu_match() 636 struct test_suite suite__pmu = {
|
| H A D | mmap-basic.c | 35 static int test__basic_mmap(struct test_suite *test __maybe_unused, int subtest __maybe_unused) in test__basic_mmap() 375 static int test__mmap_user_read_instr(struct test_suite *test __maybe_unused, in test__mmap_user_read_instr() 381 static int test__mmap_user_read_cycles(struct test_suite *test __maybe_unused, in test__mmap_user_read_cycles() 387 static int test__mmap_user_read_instr_disabled(struct test_suite *test __maybe_unused, in test__mmap_user_read_instr_disabled() 393 static int test__mmap_user_read_cycles_disabled(struct test_suite *test __maybe_unused, in test__mmap_user_read_cycles_disabled() 442 struct test_suite suite__basic_mmap = {
|
| H A D | thread-map.c | 23 static int test__thread_map(struct test_suite *test __maybe_unused, int subtest __maybe_unused) in test__thread_map() 90 static int test__thread_map_synthesize(struct test_suite *test __maybe_unused, int subtest __maybe_… in test__thread_map_synthesize() 110 static int test__thread_map_remove(struct test_suite *test __maybe_unused, int subtest __maybe_unus… in test__thread_map_remove()
|
| H A D | perf-time-to-tsc.c | 49 static int test__tsc_is_supported(struct test_suite *test __maybe_unused, in test__tsc_is_supported() 68 static int test__perf_time_to_tsc(struct test_suite *test __maybe_unused, int subtest __maybe_unuse… in test__perf_time_to_tsc() 218 struct test_suite suite__perf_time_to_tsc = {
|
| H A D | openat-syscall.c | 17 static int test__openat_syscall_event(struct test_suite *test __maybe_unused, in test__openat_syscall_event() 81 struct test_suite suite__openat_syscall_event = {
|
| H A D | dso-data.c | 128 static int test__dso_data(struct test_suite *test __maybe_unused, int subtest __maybe_unused) in test__dso_data() 249 static int test__dso_data_cache(struct test_suite *test __maybe_unused, int subtest __maybe_unused) in set_fd_limit() 319 static int test__dso_data_reopen(struct test_suite *test __maybe_unused, int subtest __maybe_unused) in new_limit() 404 struct test_suite suite__dso_data = {
|
| H A D | hwmon_pmu.c | 241 static int test__hwmon_pmu_without_pmu(struct test_suite *test __maybe_unused, in test__hwmon_pmu_without_pmu() 247 static int test__hwmon_pmu_with_pmu(struct test_suite *test __maybe_unused, in test__hwmon_pmu_with_pmu() 253 static int test__parse_hwmon_filename(struct test_suite *test __maybe_unused, in test__parse_hwmon_filename() 354 struct test_suite suite__hwmon_pmu = {
|
| H A D | pe-file-parsing.c | 72 static int test__pe_file_parsing(struct test_suite *test __maybe_unused, in test__pe_file_parsing() 93 static int test__pe_file_parsing(struct test_suite *test __maybe_unused, in test__pe_file_parsing()
|
| H A D | sdt.c | 79 static int test__sdt_event(struct test_suite *test __maybe_unused, int subtests __maybe_unused) in test__sdt_event() 117 static int test__sdt_event(struct test_suite *test __maybe_unused, int subtests __maybe_unused) in test__sdt_event()
|
| H A D | maps.c | 74 static int test__maps__merge_in(struct test_suite *t __maybe_unused, int subtest __maybe_unused) in test__maps__merge_in() 165 static int test__maps__fixup_overlap_and_insert(struct test_suite *t __maybe_unused, in test__maps__fixup_overlap_and_insert() 242 struct test_suite suite__maps = {
|
| H A D | openat-syscall-all-cpus.c | 22 static int test__openat_syscall_event_on_all_cpus(struct test_suite *test __maybe_unused, in test__openat_syscall_event_on_all_cpus() 135 struct test_suite suite__openat_syscall_event_on_all_cpus = {
|
| H A D | task-exit.c | 42 static int test__task_exit(struct test_suite *test __maybe_unused, int subtest __maybe_unused) in test__task_exit() 158 struct test_suite suite__task_exit = {
|
| H A D | openat-syscall-tp-fields.c | 26 static int test__syscall_openat_tp_fields(struct test_suite *test __maybe_unused, in test__syscall_openat_tp_fields() 157 struct test_suite suite__syscall_openat_tp_fields = {
|
| H A D | pmu-events.c | 445 static int test__pmu_event_table(struct test_suite *test __maybe_unused, in test__pmu_event_table() 725 static int test__aliases(struct test_suite *test __maybe_unused, in test__aliases() 906 static int test__parsing(struct test_suite *test __maybe_unused, in test__parsing() 1003 static int test__parsing_fake(struct test_suite *test __maybe_unused, in test__parsing_fake() 1030 static int test__parsing_threshold(struct test_suite *test __maybe_unused, in test__parsing_threshold() 1052 struct test_suite suite__pmu_events = {
|
| H A D | dwarf-unwind.c | 52 int test__dwarf_unwind(struct test_suite *test, int subtest); 181 noinline int test__dwarf_unwind(struct test_suite *test __maybe_unused, in test__dwarf_unwind()
|
| H A D | fdarray.c | 31 static int test__fdarray__filter(struct test_suite *test __maybe_unused, int subtest __maybe_unused) in test__fdarray__filter() 92 static int test__fdarray__add(struct test_suite *test __maybe_unused, int subtest __maybe_unused) in test__fdarray__add()
|
| /linux/tools/perf/arch/arm64/include/ |
| H A D | arch-tests.h | 5 struct test_suite; 7 int test__cpuid_match(struct test_suite *test, int subtest); 8 extern struct test_suite *arch_tests[];
|
| /linux/tools/perf/arch/x86/tests/ |
| H A D | arch-tests.c | 16 struct test_suite suite__intel_pt = { 31 struct test_suite suite__hybrid = { 36 struct test_suite *arch_tests[] = {
|