OSDN Git Service

perf test: Move each test suite struct to its test
[uclinux-h8/linux.git] / tools / perf / tests / dwarf-unwind.c
index c756284..6e04290 100644 (file)
@@ -195,7 +195,7 @@ NO_TAIL_CALL_ATTRIBUTE noinline int test_dwarf_unwind__krava_1(struct thread *th
        return ret;
 }
 
-int test__dwarf_unwind(struct test *test __maybe_unused, int subtest __maybe_unused)
+static int test__dwarf_unwind(struct test *test __maybe_unused, int subtest __maybe_unused)
 {
        struct machine *machine;
        struct thread *thread;
@@ -237,3 +237,5 @@ int test__dwarf_unwind(struct test *test __maybe_unused, int subtest __maybe_unu
        machine__delete(machine);
        return err;
 }
+
+DEFINE_SUITE("Test dwarf unwind", dwarf_unwind);