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]

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


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