diff options
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 a0836ed6..7c96b7e2 100644 --- a/tapset/context-unwind.stp +++ b/tapset/context-unwind.stp @@ -52,7 +52,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); %} |