From 21a40f787a58261bfcdceafe1d6ccd2f682227e8 Mon Sep 17 00:00:00 2001 From: hunt Date: Mon, 2 Jul 2007 07:41:05 +0000 Subject: 2007-07-02 Martin Hunt * context.stp (print_backtrace): If no regs, just print the probe point. --- tapset/context.stp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tapset/context.stp') 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); } %} -- cgit