On Mon, Aug 22, 2011 at 12:28:59PM +0200, Denys Vlasenko wrote:
> On Mon, 2011-08-22 at 12:21 +0200, Denys Vlasenko wrote:
> > 4. Another speedup: on x86, EAX read on syscall entry is also not
> > necessary if we know that post-execve SIGTRAP is disabled by
> > PTRACE_O_TRACEEXEC ptrace option. This patch (a) moves EAX retrieval
> > from syscall_fixup to get_scno_on_sysexit, and (b) perform EAX retrieval
> > in syscall_fixup only if we are in syscall entry and PTRACE_O_TRACEEXEC
> > option is not on.

If the sysexit part of this EAX retrieval code goes to
get_scno_on_sysexit(), why the sysenter part of it doesn't go to
get_scno_on_sysenter() as well?


-- 
ldv

Attachment: pgpwyj1oR15tv.pgp
Description: PGP signature

------------------------------------------------------------------------------
Get a FREE DOWNLOAD! and learn more about uberSVN rich system, 
user administration capabilities and model configuration. Take 
the hassle out of deploying and managing Subversion and the 
tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2
_______________________________________________
Strace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/strace-devel

Reply via email to