public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* printing kernel backtrace
@ 2015-12-12 12:33 Nikolay Borisov
  2015-12-12 14:38 ` Frank Ch. Eigler
  0 siblings, 1 reply; 4+ messages in thread
From: Nikolay Borisov @ 2015-12-12 12:33 UTC (permalink / raw)
  To: systemtap

Hello,

I've started experimenting with systemtamp and I'd like to print the
callstack leading to the probed function. To that effect I have created
the following very simple tapset:

probe module("dm_thin_pool").function("do_waker") {
    print_syms(callers(-1))
    printf("finished backtrace\n");
}

However the output I get is something like that:

 0xffffffffa0152c80 : do_waker+0x0/0x40 [dm_thin_pool]
 0xffffffff810a5025 : 0xffffffff810a5025
 0xffffffffa0152c80 : do_waker+0x0/0x40 [dm_thin_pool]
 0xffffffffa0152c80 : do_waker+0x0/0x40 [dm_thin_pool]
 0xffffffffa0152c80 : do_waker+0x0/0x40 [dm_thin_pool]
 0xffffffffa0152c80 : do_waker+0x0/0x40 [dm_thin_pool]
 0xffffffffa0152c80 : do_waker+0x0/0x40 [dm_thin_pool]
 0xffffffffa0152c80 : do_waker+0x0/0x40 [dm_thin_pool]
 0xffffffffa0152c80 : do_waker+0x0/0x40 [dm_thin_pool]
 0xffffffffa0152c80 : do_waker+0x0/0x40 [dm_thin_pool]
 0xffffffffa0152c80 : do_waker+0x0/0x40 [dm_thin_pool]
 0xffffffffa0152c80 : do_waker+0x0/0x40 [dm_thin_pool]
 0xffffffffa0152c80 : do_waker+0x0/0x40 [dm_thin_pool]
 0xffffffffa0152c80 : do_waker+0x0/0x40 [dm_thin_pool]
 0xffffffffa0152c80 : do_waker+0x0/0x40 [dm_thin_pool]
 0xffffffffa0152c80 : do_waker+0x0/0x40 [dm_thin_pool]
 0xffffffffa0152c80 : do_waker+0x0/0x40 [dm_thin_pool]
 0xffffffffa0152c80 : do_waker+0x0/0x40 [dm_thin_pool]
 0xffffffffa0152c80 : do_waker+0x0/0x40 [dm_thin_pool]
 0xffffffffa0152c80 : do_waker+0x0/0x40 [dm_thin_pool]
 0xffffffffa0152c80 : do_waker+0x0/0x40 [dm_thin_pool]
 0xffffffffa0152c80 : do_waker+0x0/0x40 [dm_thin_pool]
 0xffffffffa0152c80 : do_waker+0x0/0x40 [dm_thin_pool]
 0xffffffffa0152c80 : do_waker+0x0/0x40 [dm_thin_pool]
 0xffffffffa0152c80 : do_waker+0x0/0x40 [dm_thin_pool]
 0xffffffffa0152c80 : do_waker+0x0/0x40 [dm_thin_pool]
 0xffffffffa0152c8 : 0xffffffffa0152c8
finished backtrace


It seems that systemtap is unable to unwind the debug information? I
believe I have compiled systemtap with the necessary unwidn libraries
but how do I check that for sure?


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-12-12 16:01 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-12-12 12:33 printing kernel backtrace Nikolay Borisov
2015-12-12 14:38 ` Frank Ch. Eigler
2015-12-12 15:37   ` Nikolay Borisov
2015-12-12 16:01     ` Frank Ch. Eigler

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).