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]

Re: Queries on SystemTap - with focus on User Space debugging


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


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