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: print_backtrace() problem


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


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