Home
last modified time | relevance | path

Searched refs:test_suite (Results 1 – 25 of 91) sorted by relevance

1234

/linux/tools/perf/arch/x86/include/
H A Darch-tests.h7 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 Dtests-scripts.c154 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 Dbuiltin-test.c60 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 Dpfm.c27 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 Dsubcmd-help.c6 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 Dtests.h31 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 Dwp.c76 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 Dpmu.c158 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 Dmmap-basic.c35 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 Dthread-map.c23 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 Dperf-time-to-tsc.c49 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 Dopenat-syscall.c17 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 Ddso-data.c128 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 Dhwmon_pmu.c241 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 Dpe-file-parsing.c72 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 Dsdt.c79 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 Dmaps.c74 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 Dopenat-syscall-all-cpus.c22 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 Dtask-exit.c42 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 Dopenat-syscall-tp-fields.c26 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 Dpmu-events.c445 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 Ddwarf-unwind.c52 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 Dfdarray.c31 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 Darch-tests.h5 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 Darch-tests.c16 struct test_suite suite__intel_pt = {
31 struct test_suite suite__hybrid = {
36 struct test_suite *arch_tests[] = {

1234