corrected: tapset/script information template
Frank Ch. Eigler
fche@redhat.com
Fri Apr 29 21:21:00 GMT 2005
Hi, John -
> I'm probably missing something, but how is this supposed to work? I
> want to be able to get call graphs under certain
> circumstances. [...] I need to be able to say "if this happens, and
> we reach this function, then insert a stack trace into the tracing
> stream".
You can, that's not what this mechanism was for. There will be some
function that a normal probe handler can call in order to procure a
stack trace on demand, using something like:
probe kernel.function("your_function_here") {
trace_syms (traceback ())
}
- FChE
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/systemtap/attachments/20050429/cf904a1e/attachment.sig>
More information about the Systemtap
mailing list