Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 163467
b: refs/heads/master
c: 307646c
h: refs/heads/master
i:
  163465: 88ad91b
  163463: e75f2a7
v: v3
  • Loading branch information
Paul Mundt committed Aug 20, 2009
1 parent 7a61219 commit a07b348
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 65603789db56b915dd5e3ea0501a7773ecf4092d
refs/heads/master: 307646c958f0f3c3624368eaa72dce8567b25f93
4 changes: 4 additions & 0 deletions trunk/arch/sh/kernel/ptrace_32.c
Original file line number Diff line number Diff line change
Expand Up @@ -461,8 +461,10 @@ asmlinkage long do_syscall_trace_enter(struct pt_regs *regs)
*/
ret = -1L;

#ifdef CONFIG_FTRACE_SYSCALLS
if (unlikely(test_thread_flag(TIF_SYSCALL_FTRACE)))
ftrace_syscall_enter(regs);
#endif

if (unlikely(current->audit_context))
audit_syscall_entry(audit_arch(), regs->regs[3],
Expand All @@ -480,8 +482,10 @@ asmlinkage void do_syscall_trace_leave(struct pt_regs *regs)
audit_syscall_exit(AUDITSC_RESULT(regs->regs[0]),
regs->regs[0]);

#ifdef CONFIG_FTRACE_SYSCALLS
if (unlikely(test_thread_flag(TIF_SYSCALL_FTRACE)))
ftrace_syscall_exit(regs);
#endif

step = test_thread_flag(TIF_SINGLESTEP);
if (step || test_thread_flag(TIF_SYSCALL_TRACE))
Expand Down

0 comments on commit a07b348

Please sign in to comment.