|
@@ -51,6 +51,9 @@
|
|
|
#include "compat_ptrace.h"
|
|
|
#endif
|
|
|
|
|
|
+DEFINE_TRACE(syscall_enter);
|
|
|
+DEFINE_TRACE(syscall_exit);
|
|
|
+
|
|
|
enum s390_regset {
|
|
|
REGSET_GENERAL,
|
|
|
REGSET_FP,
|
|
@@ -662,7 +665,7 @@ asmlinkage long do_syscall_trace_enter(struct pt_regs *regs)
|
|
|
}
|
|
|
|
|
|
if (unlikely(test_thread_flag(TIF_SYSCALL_FTRACE)))
|
|
|
- ftrace_syscall_enter(regs);
|
|
|
+ trace_syscall_enter(regs, regs->gprs[2]);
|
|
|
|
|
|
if (unlikely(current->audit_context))
|
|
|
audit_syscall_entry(is_compat_task() ?
|
|
@@ -680,7 +683,7 @@ asmlinkage void do_syscall_trace_exit(struct pt_regs *regs)
|
|
|
regs->gprs[2]);
|
|
|
|
|
|
if (unlikely(test_thread_flag(TIF_SYSCALL_FTRACE)))
|
|
|
- ftrace_syscall_exit(regs);
|
|
|
+ trace_syscall_exit(regs, regs->gprs[2]);
|
|
|
|
|
|
if (test_thread_flag(TIF_SYSCALL_TRACE))
|
|
|
tracehook_report_syscall_exit(regs, 0);
|