This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: print_backtrace() problem
- From: Mark Wielaard <mjw at redhat dot com>
- To: Peter Teoh <htmldeveloper at gmail dot com>
- Cc: SystemTAP <systemtap at sources dot redhat dot com>
- Date: Fri, 16 Jan 2009 09:23:40 +0100
- Subject: Re: print_backtrace() problem
- References: <804dabb00901151924g3b2c8264x529e73e23477bcfd@mail.gmail.com>
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