diff options
-rw-r--r-- | tapset/ChangeLog | 5 | ||||
-rw-r--r-- | tapset/context.stp | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/tapset/ChangeLog b/tapset/ChangeLog index 96850d17..0e1898e4 100644 --- a/tapset/ChangeLog +++ b/tapset/ChangeLog @@ -1,3 +1,8 @@ +2007-07-02 Martin Hunt <hunt@redhat.com> + + * context.stp (print_backtrace): If no regs, just + print the probe point. + 2007-06-22 Frank Ch. Eigler <fche@elastic.org> * syscalls_cfg_trunc.stp: New file for configuration global. diff --git a/tapset/context.stp b/tapset/context.stp index 7efb6db7..39f1b640 100644 --- a/tapset/context.stp +++ b/tapset/context.stp @@ -16,6 +16,8 @@ function print_regs () %{ function print_backtrace () %{ if (CONTEXT->regs) { _stp_stack_print(CONTEXT->regs, 1, CONTEXT->pi); + } else { + _stp_printf("Systemtap probe: %s\n", CONTEXT->probe_point); } %} |