From c29ea8a83c132839bdd38ac1701ae3198a89ebf8 Mon Sep 17 00:00:00 2001 From: Mark Wielaard Date: Wed, 8 Dec 2010 13:03:13 +0100 Subject: [PATCH] task_backtrace should return addresses separated by spaces. * tapset/context-unwind.stp (task_backtrace): Call _stp_stack_snprint_tsk with _STP_SYM_NONE. --- tapset/context-unwind.stp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tapset/context-unwind.stp b/tapset/context-unwind.stp index f05845cd5..913a0bf86 100644 --- a/tapset/context-unwind.stp +++ b/tapset/context-unwind.stp @@ -96,7 +96,8 @@ function backtrace:string () %{ /* pure */ */ function task_backtrace:string (task:long) %{ /* pure */ _stp_stack_snprint_tsk(THIS->__retvalue, MAXSTRINGLEN, - (struct task_struct *)(unsigned long)THIS->task, 0, MAXTRACE); + (struct task_struct *)(unsigned long)THIS->task, + _STP_SYM_NONE, MAXTRACE); %} /** -- 2.43.5