From cdb804af87c00bb27c871e1deb3763279de0b7e5 Mon Sep 17 00:00:00 2001 From: Mark Wielaard Date: Thu, 28 May 2009 13:31:31 +0200 Subject: [PATCH] Add ucontext-symbols and ucontext-unwind tapset functions to the manual. * tapset/ucontext-unwind.stp (ubacktrace): Remove empty line before function triggering parse errors for doc scanner. * doc/SystemTap_Tapset_Reference/tapsets.tmpl (chapter context_stp): Add tapset/ucontext-symbols.stp and tapset/ucontext-unwind.stp. --- doc/SystemTap_Tapset_Reference/tapsets.tmpl | 2 ++ tapset/ucontext-unwind.stp | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/SystemTap_Tapset_Reference/tapsets.tmpl b/doc/SystemTap_Tapset_Reference/tapsets.tmpl index 767f9e051..835d03097 100644 --- a/doc/SystemTap_Tapset_Reference/tapsets.tmpl +++ b/doc/SystemTap_Tapset_Reference/tapsets.tmpl @@ -118,7 +118,9 @@ !Itapset/context.stp !Itapset/context-symbols.stp +!Itapset/ucontext-symbols.stp !Itapset/context-unwind.stp +!Itapset/ucontext-unwind.stp diff --git a/tapset/ucontext-unwind.stp b/tapset/ucontext-unwind.stp index 0801f1c92..df275d4b8 100644 --- a/tapset/ucontext-unwind.stp +++ b/tapset/ucontext-unwind.stp @@ -41,7 +41,6 @@ function print_ubacktrace () %{ * string length. Returns empty string when current probe point cannot * determine user backtrace. */ - function ubacktrace:string () %{ /* pure */ if (CONTEXT->regs) _stp_stack_snprint (THIS->__retvalue, MAXSTRINGLEN, -- 2.43.5