This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Kprobes support for accessing args upon return


Hi Jim,

On 06 Dec 2006 14:32:40 -0800, Jim Keniston <jkenisto@us.ibm.com> wrote:
As promised, here (once again) is a pointer to the kretprobes patch
(against 2.6.13) that adds an optional "data pouch" to a
kretprobe_instance. This makes it easy for data such as arg values to be
saved upon function entry and recalled upon return.  This was written by
Kevin Stafford and smoke-tested by me.

This patch would be very useful. However, there is a doubt: You access function args by ESP. That would not work if the kernel compiled without "frame pointer" option.

But this patch is worthy to be merged IMO.

regards,
J


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]