xref: /linux/arch/riscv/kernel/probes/rethook.h (revision 1274b37ab31211beb0f1c6e12e059d6b58a6e40a)
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 #ifndef __RISCV_RETHOOK_H
3 #define __RISCV_RETHOOK_H
4 
5 unsigned long arch_rethook_trampoline_callback(struct pt_regs *regs);
6 void arch_rethook_prepare(struct rethook_node *rhn, struct pt_regs *regs, bool mcount);
7 
8 #endif
9