aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorOleg Nesterov <[email protected]>2009-12-15 16:47:21 -0800
committerLinus Torvalds <[email protected]>2009-12-16 07:20:08 -0800
commitd51965037325e51f6cd68583413243c3573e47b0 (patch)
treeb12a96e5adc82f3b72a22f054c9a51dc05d4a302 /tools/perf/scripts/python
parent7f38551fc3ff0e17a38d6f3f0f8831380a88f3cc (diff)
ptrace: x86: change syscall_trace_leave() to rely on tracehook when stepping
Suggested by Roland. Unlike powepc, x86 always calls tracehook_report_syscall_exit(step) with step = 0, and sends the trap by hand. This results in unnecessary SIGTRAP when PTRACE_SINGLESTEP follows the syscall-exit stop. Change syscall_trace_leave() to pass the correct "step" argument to tracehook and remove the send_sigtrap() logic. Signed-off-by: Oleg Nesterov <[email protected]> Acked-by: Roland McGrath <[email protected]> Cc: <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Thomas Gleixner <[email protected]> Cc: "H. Peter Anvin" <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions