summaryrefslogtreecommitdiffstats
path: root/tapset/context.stp
diff options
context:
space:
mode:
authorhunt <hunt>2007-07-02 07:41:05 +0000
committerhunt <hunt>2007-07-02 07:41:05 +0000
commit21a40f787a58261bfcdceafe1d6ccd2f682227e8 (patch)
treebff673b54b94572f65da725d67fb752ce63f3c71 /tapset/context.stp
parent81bceb41bf645dbef2ec8fe1522ad1b68a02d17d (diff)
downloadsystemtap-steved-21a40f787a58261bfcdceafe1d6ccd2f682227e8.tar.gz
systemtap-steved-21a40f787a58261bfcdceafe1d6ccd2f682227e8.tar.xz
systemtap-steved-21a40f787a58261bfcdceafe1d6ccd2f682227e8.zip
2007-07-02 Martin Hunt <hunt@redhat.com>
* context.stp (print_backtrace): If no regs, just print the probe point.
Diffstat (limited to 'tapset/context.stp')
-rw-r--r--tapset/context.stp2
1 files changed, 2 insertions, 0 deletions
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);
}
%}