Queries on SystemTap - with focus on User Space debugging

Mark Wielaard mjw@redhat.com
Tue May 24 12:25:00 GMT 2011


On Mon, 2011-05-23 at 13:08 +0530, Manjusha Ajay wrote:
> I tried using print_ubacktrace() in my test program, did not get the
> expected result.

Try adding -d yourprogram to your stap invocation. That tells stap to
explicitly load the unwind tables for the program you are probing. If
you want you can explicitly --ldd which will add unwind/symbol data for
all referenced OBJECT files.

Then you can just use print_ubacktrace() from your probe handler instead
of invoking external programs.

Cheers,

Mark



More information about the Systemtap mailing list