This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Kprobes support for accessing args upon return
- From: Jim Keniston <jkenisto at us dot ibm dot com>
- To: SystemTAP <systemtap at sources dot redhat dot com>
- Date: 06 Dec 2006 14:32:40 -0800
- Subject: Kprobes support for accessing args upon return
- Organization:
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.
The patch itself is quite simple, as you can see. How to express this
feature in the SystemTap language was never nailed down.
http://sourceware.org/ml/systemtap/2005-q3/msg00593.html
Jim