diff options
author | Roland McGrath <roland@redhat.com> | 2009-04-01 18:12:10 -0700 |
---|---|---|
committer | Roland McGrath <roland@redhat.com> | 2009-04-01 18:12:10 -0700 |
commit | 976c562d2da11592305260c6ed06d098b81dd491 (patch) | |
tree | 6180b861705834af410e414fca01215df9fba382 /tapset/context-unwind.stp | |
parent | 3c960a7cfa61cbde19c0ad88045c8c1f6405ed87 (diff) | |
parent | 83ff01c2f669c66100a5cf7531dda9410a8ff6ce (diff) | |
download | systemtap-steved-976c562d2da11592305260c6ed06d098b81dd491.tar.gz systemtap-steved-976c562d2da11592305260c6ed06d098b81dd491.tar.xz systemtap-steved-976c562d2da11592305260c6ed06d098b81dd491.zip |
Merge branch 'master' of ssh://sources.redhat.com/git/systemtap
Diffstat (limited to 'tapset/context-unwind.stp')
-rw-r--r-- | tapset/context-unwind.stp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tapset/context-unwind.stp b/tapset/context-unwind.stp index 90d4e0f4..a976f8b6 100644 --- a/tapset/context-unwind.stp +++ b/tapset/context-unwind.stp @@ -56,7 +56,8 @@ function backtrace:string () %{ /* pure */ function caller:string() %{ /* pure */ if (CONTEXT->pi) _stp_symbol_snprint( THIS->__retvalue, MAXSTRINGLEN, - (unsigned long)_stp_ret_addr_r(CONTEXT->pi)); + (unsigned long)_stp_ret_addr_r(CONTEXT->pi), + current); else strlcpy(THIS->__retvalue,"unknown",MAXSTRINGLEN); %} |