Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 158442
b: refs/heads/master
c: 5e9ad7d
h: refs/heads/master
v: v3
  • Loading branch information
Ingo Molnar committed Aug 19, 2009
1 parent 6f671de commit fe72bd5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 3be04b471b95b870bd129a138463756629e86f3f
refs/heads/master: 5e9ad7df9fd056f1071af8aa91034a1c3170257d
7 changes: 5 additions & 2 deletions trunk/arch/s390/kernel/ptrace.c
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,9 @@
#include "compat_ptrace.h"
#endif

DEFINE_TRACE(syscall_enter);
DEFINE_TRACE(syscall_exit);

enum s390_regset {
REGSET_GENERAL,
REGSET_FP,
Expand Down Expand Up @@ -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() ?
Expand All @@ -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);
Expand Down

0 comments on commit fe72bd5

Please sign in to comment.