print_backtrace() problem
Mark Wielaard
mjw@redhat.com
Fri Jan 16 08:37:00 GMT 2009
Hi Peter,
On Fri, 2009-01-16 at 11:24 +0800, Peter Teoh wrote:
> Why is it that when I call print_backtrace() inside stp script, it
> only give me a short stacktrace:
Could you try your script with stap -DSTP_USE_DWARF_UNWINDER=1
This should give more accurate backtraces. We have contemplated enabling
it by default, but needed more testing. So if it helps you then that
would be a good data point for enabling it by default :)
But please also let us know if it doesn't help at all.
If it doesn't help could you also run with -DDEBUG_UNWIND=3 so we can
analyze why it doesn't help improve your backtraces?
Thanks,
Mark
More information about the Systemtap
mailing list