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]

Kprobes support for accessing args upon return


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


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