perf test: Improve pmu event metric testing
[linux-2.6-microblaze.git] / tools / perf / tests / tests.h
index 61a1ab0..6c6c4b6 100644 (file)
@@ -34,6 +34,7 @@ struct test {
                bool skip_if_fail;
                int (*get_nr)(void);
                const char *(*get_desc)(int subtest);
+               const char *(*skip_reason)(int subtest);
        } subtest;
        bool (*is_supported)(void);
        void *priv;
@@ -50,6 +51,9 @@ int test__perf_evsel__tp_sched_test(struct test *test, int subtest);
 int test__syscall_openat_tp_fields(struct test *test, int subtest);
 int test__pmu(struct test *test, int subtest);
 int test__pmu_events(struct test *test, int subtest);
+const char *test__pmu_events_subtest_get_desc(int subtest);
+const char *test__pmu_events_subtest_skip_reason(int subtest);
+int test__pmu_events_subtest_get_nr(void);
 int test__attr(struct test *test, int subtest);
 int test__dso_data(struct test *test, int subtest);
 int test__dso_data_cache(struct test *test, int subtest);
@@ -112,6 +116,7 @@ int test__mem2node(struct test *t, int subtest);
 int test__maps__merge_in(struct test *t, int subtest);
 int test__time_utils(struct test *t, int subtest);
 int test__jit_write_elf(struct test *test, int subtest);
+int test__api_io(struct test *test, int subtest);
 
 bool test__bp_signal_is_supported(void);
 bool test__bp_account_is_supported(void);