[PATCH] ARM: pass syscall return value to sys_exit tracepoint

Will Deacon will.deacon at arm.com
Thu Dec 6 04:57:40 EST 2012


On Thu, Dec 06, 2012 at 09:53:58AM +0000, Gabbasov, Andrew wrote:
> Hi Will,

Hello Andrew,

> Thank you for the patch, I was thinking about something like this too, but was in a doubt
> that reverse order could be for a purpose ;-)

Nope, it think it was an oversight when the entry path was cleaned up.

> Minor question: what is the version this patch is against? The latest version in Linus'es tree
> does not have "current_thread_info()->syscall = scno;" at the beginning of
> syscall_trace_exit. Or is it just a "proof of concept" patch and will be modified before
> merging to the source?

It's based on what Russell has queued for 3.8 (there is some seccomp stuff
in there). If you're happy with the patch, I can stick it in the patch
system once I've given it some more testing.

Will



More information about the linux-arm-kernel mailing list