summaryrefslogtreecommitdiff
path: root/arch/riscv/kernel/probes/rethook.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/riscv/kernel/probes/rethook.h')
-rw-r--r--arch/riscv/kernel/probes/rethook.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/riscv/kernel/probes/rethook.h b/arch/riscv/kernel/probes/rethook.h
new file mode 100644
index 000000000000..4758f7e3ce88
--- /dev/null
+++ b/arch/riscv/kernel/probes/rethook.h
@@ -0,0 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+#ifndef __RISCV_RETHOOK_H
+#define __RISCV_RETHOOK_H
+
+unsigned long arch_rethook_trampoline_callback(struct pt_regs *regs);
+void arch_rethook_prepare(struct rethook_node *rhn, struct pt_regs *regs, bool mcount);
+
+#endif