summaryrefslogtreecommitdiffstats
path: root/tools/perf/arch/powerpc/include/arch-tests.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/arch/powerpc/include/arch-tests.h')
-rw-r--r--tools/perf/arch/powerpc/include/arch-tests.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/tools/perf/arch/powerpc/include/arch-tests.h b/tools/perf/arch/powerpc/include/arch-tests.h
new file mode 100644
index 000000000..1c7be75cb
--- /dev/null
+++ b/tools/perf/arch/powerpc/include/arch-tests.h
@@ -0,0 +1,14 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+#ifndef ARCH_TESTS_H
+#define ARCH_TESTS_H
+
+#ifdef HAVE_DWARF_UNWIND_SUPPORT
+struct thread;
+struct perf_sample;
+int test__arch_unwind_sample(struct perf_sample *sample,
+ struct thread *thread);
+#endif
+
+extern struct test arch_tests[];
+
+#endif