mirror of
https://github.com/dynup/kpatch
synced 2024-12-24 14:12:06 +00:00
kmod/core: add "notrace" to ftrace handler
The ftrace handler needs the notrace annotation so that ftrace won't trace it and get into a recursive loop.
This commit is contained in:
parent
0688d1ed24
commit
2d7be5f48c
@ -171,8 +171,8 @@ out:
|
||||
}
|
||||
|
||||
|
||||
void kpatch_ftrace_handler(unsigned long ip, unsigned long parent_ip,
|
||||
struct ftrace_ops *op, struct pt_regs *regs)
|
||||
void notrace kpatch_ftrace_handler(unsigned long ip, unsigned long parent_ip,
|
||||
struct ftrace_ops *op, struct pt_regs *regs)
|
||||
{
|
||||
struct kpatch_func *f;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user