Skip to content
Commit 6dc00746 authored by Pavel Emelyanov's avatar Pavel Emelyanov
Browse files

ptrace: Skip GETREGS on exits from syscalls when possible



The PTRACE_SYSCALL traps task twice -- first on enter into
and then on exit from syscall. If we trace a single task (and
we do it on dump two times per task) we may skip half of all
getregs calls -- on exit we don't need them.

Signed-off-by: default avatarPavel Emelyanov <xemul@parallels.com>
Acked-by: default avatarAndrew Vagin <avagin@parallels.com>
parent 19018622
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment