46 #ifndef _LINUX_TRACEHOOK_H
47 #define _LINUX_TRACEHOOK_H 1
49 #include <linux/sched.h>
50 #include <linux/ptrace.h>
58 static inline int ptrace_report_syscall(
struct pt_regs *
regs)
77 return fatal_signal_pending(
current);
99 static inline __must_check int tracehook_report_syscall_entry(
102 return ptrace_report_syscall(regs);
122 static inline void tracehook_report_syscall_exit(
struct pt_regs *regs,
int step)
131 ptrace_report_syscall(regs);
151 struct pt_regs *regs,
int stepping)
168 #ifdef TIF_NOTIFY_RESUME
187 static inline void tracehook_notify_resume(
struct pt_regs *regs)