This is the mail archive of the systemtap@sources.redhat.com 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] | |
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
Attachment:
pgp00000.pgp
Description: PGP signature
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |