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

Gabbasov, Andrew Andrew_Gabbasov at mentor.com
Thu Dec 6 05:15:41 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

Yes, the patch looks good to me.

Thanks.
Andrew



More information about the linux-arm-kernel mailing list