summaryrefslogtreecommitdiffstats
path: root/tapset/context-unwind.stp
diff options
context:
space:
mode:
authorWilliam Cohen <wcohen@redhat.com>2009-04-23 11:13:59 -0400
committerWilliam Cohen <wcohen@redhat.com>2009-04-23 11:13:59 -0400
commit927dab9f7b4298b4ef28ae87cdb7dafe43e5d76a (patch)
tree1cd2cc946800969a9816883a8b2f2edc27caccdb /tapset/context-unwind.stp
parent1e0a708d560ed69405e94a45d11067abae7f79a5 (diff)
parent4fecf7f1c9fd8ae54ff13677c710b75a10d8cc91 (diff)
downloadsystemtap-steved-927dab9f7b4298b4ef28ae87cdb7dafe43e5d76a.tar.gz
systemtap-steved-927dab9f7b4298b4ef28ae87cdb7dafe43e5d76a.tar.xz
systemtap-steved-927dab9f7b4298b4ef28ae87cdb7dafe43e5d76a.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 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);
%}