]> granicus.if.org Git - strace/commit
Simple optimizations in trace()
authorDenys Vlasenko <dvlasenk@redhat.com>
Fri, 2 Sep 2011 14:23:53 +0000 (16:23 +0200)
committerDenys Vlasenko <dvlasenk@redhat.com>
Fri, 2 Sep 2011 14:23:53 +0000 (16:23 +0200)
commit6cda73ff9ca94e2be56d04186fceaca223a9c45b
treec481192b605af49e9046fb0098fccf503c03dfd3
parent014ca3a53cb24d8e12e87f43a880efc52940a8be
Simple optimizations in trace()

* strace.c (trace): Calculate WSTOPSIG(status) once,
unify code paths to ptrace(PTRACE_SYSCALL).

Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
strace.c