This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
print_backtrace not printing full stack
- From: Mike Mason <mmlnx at us dot ibm dot com>
- To: systemtap at sources dot redhat dot com
- Date: Thu, 10 Aug 2006 12:35:10 -0700
- Subject: print_backtrace not printing full stack
Is there some trick to getting print_backtrace to work? The following
script:
probe syscall.open.return {
if (isinstr(retstr, "ENOENT")) {
printf("%s: %s (%s) = ", execname(), name, argstr)
printf("%s\n", retstr)
print_backtrace();
}
}
yields this output:
ls: open () = -2 (ENOENT)
trace for 7416 (ls)
0xffffffff8011c7c5 : kretprobe_trampoline+0x1/0x4 []
I get one line from the stack and that's it. I assume I should see the
full stack.
Mike