summaryrefslogtreecommitdiff
path: root/arch/riscv/kernel/probes/rethook.h
blob: 4758f7e3ce881f78d0134e058223f03580736194 (plain)
1
2
3
4
5
6
7
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