summaryrefslogtreecommitdiff
path: root/tools/perf/util/arm64-frame-pointer-unwind-support.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/util/arm64-frame-pointer-unwind-support.h')
-rw-r--r--tools/perf/util/arm64-frame-pointer-unwind-support.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/tools/perf/util/arm64-frame-pointer-unwind-support.h b/tools/perf/util/arm64-frame-pointer-unwind-support.h
new file mode 100644
index 000000000..ba35b295b
--- /dev/null
+++ b/tools/perf/util/arm64-frame-pointer-unwind-support.h
@@ -0,0 +1,14 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+#ifndef __PERF_ARM_FRAME_POINTER_UNWIND_SUPPORT_H
+#define __PERF_ARM_FRAME_POINTER_UNWIND_SUPPORT_H
+
+#include <linux/types.h>
+
+struct perf_sample;
+struct record_opts;
+struct thread;
+
+void add_leaf_frame_caller_opts_aarch64(struct record_opts *opts);
+u64 get_leaf_frame_caller_aarch64(struct perf_sample *sample, struct thread *thread, int user_idx);
+
+#endif /* __PERF_ARM_FRAME_POINTER_UNWIND_SUPPORT_H */