summaryrefslogtreecommitdiffstats
path: root/tapset/context-unwind.stp
diff options
context:
space:
mode:
authorDave Brolley <brolley@redhat.com>2009-12-17 16:59:26 -0500
committerDave Brolley <brolley@redhat.com>2009-12-17 16:59:26 -0500
commit6dd4e32114264ccda20395cb07bb877de3c062b2 (patch)
tree6ea4eb4e631df7832c07eafeda2ca4031870b335 /tapset/context-unwind.stp
parent089ed967ce3894c3569091db70db423a5316b04e (diff)
parent4180475982d87f720897baa6f988a48b4c654ee5 (diff)
downloadsystemtap-steved-6dd4e32114264ccda20395cb07bb877de3c062b2.tar.gz
systemtap-steved-6dd4e32114264ccda20395cb07bb877de3c062b2.tar.xz
systemtap-steved-6dd4e32114264ccda20395cb07bb877de3c062b2.zip
Merge branch 'master' of ssh://sources.redhat.com/git/systemtap
Diffstat (limited to 'tapset/context-unwind.stp')
-rw-r--r--tapset/context-unwind.stp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tapset/context-unwind.stp b/tapset/context-unwind.stp
index 741031c0..8f35a783 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, NULL);
+ _stp_stack_print(CONTEXT->regs, 1, CONTEXT->pi, MAXTRACE, NULL, 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, NULL);
+ _stp_stack_snprint (THIS->__retvalue, MAXSTRINGLEN, CONTEXT->regs, 0, CONTEXT->pi, MAXTRACE, NULL, NULL);
else
strlcpy (THIS->__retvalue, "", MAXSTRINGLEN);
%}