perf test: Provide a subtest callback to ask for the reason for skipping a subtest
[linux-2.6-microblaze.git] / tools / perf / tests / tests.h
index d6d4ac3..88e45ae 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;