This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: [RFC][PATCH -tip 7/9] tracing: kprobe-tracer plugin supports arguments
- From: Roland McGrath <roland at redhat dot com>
- To: ananth at in dot ibm dot com
- Cc: Masami Hiramatsu <mhiramat at redhat dot com>, Frederic Weisbecker <fweisbec at gmail dot com>, Ingo Molnar <mingo at elte dot hu>, Steven Rostedt <rostedt at goodmis dot org>, systemtap-ml <systemtap at sources dot redhat dot com>, LKML <linux-kernel at vger dot kernel dot org>
- Date: Fri, 20 Mar 2009 12:30:30 -0700 (PDT)
- Subject: Re: [RFC][PATCH -tip 7/9] tracing: kprobe-tracer plugin supports arguments
- References: <49C2B4D0.8030904@redhat.com> <20090320005135.GC6895@nowhere> <49C31021.5020305@redhat.com> <20090320044125.GB6398@in.ibm.com>
> A better option could be to generalize syscall_get_arguments() to work
> for functions other than just syscalls where pt_regs are available.
The syscall register argument passing conventions are disjoint from the
normal function calling ABI on some machines (x86). You can't conflate them.
Thanks,
Roland