diff options
author | Mark Wielaard <mjw@redhat.com> | 2009-04-21 20:01:00 +0200 |
---|---|---|
committer | Mark Wielaard <mjw@redhat.com> | 2009-04-21 20:01:00 +0200 |
commit | 192d5136bbfcd1e61c2f17cc52df875a954d24ec (patch) | |
tree | 27dd76c7386e5b8d177756ad8175e5b700f8541a /tapset/context-unwind.stp | |
parent | 41d9243cc9d107d1980e18537090ed358dc7920a (diff) | |
parent | 7d7f074398802c84f544e263995ce15874b9f408 (diff) | |
download | systemtap-steved-192d5136bbfcd1e61c2f17cc52df875a954d24ec.tar.gz systemtap-steved-192d5136bbfcd1e61c2f17cc52df875a954d24ec.tar.xz systemtap-steved-192d5136bbfcd1e61c2f17cc52df875a954d24ec.zip |
Merge branch 'user_unwind'
Diffstat (limited to 'tapset/context-unwind.stp')
-rw-r--r-- | tapset/context-unwind.stp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tapset/context-unwind.stp b/tapset/context-unwind.stp index b3d19e29..f1e99dc8 100644 --- a/tapset/context-unwind.stp +++ b/tapset/context-unwind.stp @@ -28,7 +28,7 @@ */ function print_backtrace () %{ if (CONTEXT->regs) { - _stp_stack_print(CONTEXT->regs, 1, CONTEXT->pi, MAXTRACE); + _stp_stack_print(CONTEXT->regs, 1, CONTEXT->pi, MAXTRACE, NULL); } else { _stp_printf("Systemtap probe: %s\n", CONTEXT->probe_point); } @@ -42,7 +42,7 @@ function print_backtrace () %{ */ function backtrace:string () %{ /* pure */ if (CONTEXT->regs) - _stp_stack_snprint (THIS->__retvalue, MAXSTRINGLEN, CONTEXT->regs, 0, CONTEXT->pi, MAXTRACE); + _stp_stack_snprint (THIS->__retvalue, MAXSTRINGLEN, CONTEXT->regs, 0, CONTEXT->pi, MAXTRACE, NULL); else strlcpy (THIS->__retvalue, "", MAXSTRINGLEN); %} |