diff options
Diffstat (limited to 'arch/s390/kernel/ptrace.c')
-rw-r--r-- | arch/s390/kernel/ptrace.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/s390/kernel/ptrace.c b/arch/s390/kernel/ptrace.c index c05b44b80c23..f3ddd7ac06c5 100644 --- a/arch/s390/kernel/ptrace.c +++ b/arch/s390/kernel/ptrace.c | |||
@@ -51,8 +51,8 @@ | |||
51 | #include "compat_ptrace.h" | 51 | #include "compat_ptrace.h" |
52 | #endif | 52 | #endif |
53 | 53 | ||
54 | DEFINE_TRACE_FN(syscall_enter, syscall_regfunc, syscall_unregfunc); | 54 | #define CREATE_TRACE_POINTS |
55 | DEFINE_TRACE_FN(syscall_exit, syscall_regfunc, syscall_unregfunc); | 55 | #include <trace/events/syscalls.h> |
56 | 56 | ||
57 | enum s390_regset { | 57 | enum s390_regset { |
58 | REGSET_GENERAL, | 58 | REGSET_GENERAL, |
@@ -665,7 +665,7 @@ asmlinkage long do_syscall_trace_enter(struct pt_regs *regs) | |||
665 | } | 665 | } |
666 | 666 | ||
667 | if (unlikely(test_thread_flag(TIF_SYSCALL_TRACEPOINT))) | 667 | if (unlikely(test_thread_flag(TIF_SYSCALL_TRACEPOINT))) |
668 | trace_syscall_enter(regs, regs->gprs[2]); | 668 | trace_sys_enter(regs, regs->gprs[2]); |
669 | 669 | ||
670 | if (unlikely(current->audit_context)) | 670 | if (unlikely(current->audit_context)) |
671 | audit_syscall_entry(is_compat_task() ? | 671 | audit_syscall_entry(is_compat_task() ? |
@@ -683,7 +683,7 @@ asmlinkage void do_syscall_trace_exit(struct pt_regs *regs) | |||
683 | regs->gprs[2]); | 683 | regs->gprs[2]); |
684 | 684 | ||
685 | if (unlikely(test_thread_flag(TIF_SYSCALL_TRACEPOINT))) | 685 | if (unlikely(test_thread_flag(TIF_SYSCALL_TRACEPOINT))) |
686 | trace_syscall_exit(regs, regs->gprs[2]); | 686 | trace_sys_exit(regs, regs->gprs[2]); |
687 | 687 | ||
688 | if (test_thread_flag(TIF_SYSCALL_TRACE)) | 688 | if (test_thread_flag(TIF_SYSCALL_TRACE)) |
689 | tracehook_report_syscall_exit(regs, 0); | 689 | tracehook_report_syscall_exit(regs, 0); |