From 098339421820a5c349a7c1d09b531b7fdcd66302 Mon Sep 17 00:00:00 2001 From: ddomingo Date: Thu, 11 Sep 2008 16:15:10 +1000 Subject: added remarks --- doc/SystemTap_Beginners_Guide/en-US/Scripts.xml | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) (limited to 'doc/SystemTap_Beginners_Guide') diff --git a/doc/SystemTap_Beginners_Guide/en-US/Scripts.xml b/doc/SystemTap_Beginners_Guide/en-US/Scripts.xml index d61ec1cf..d11eec2d 100644 --- a/doc/SystemTap_Beginners_Guide/en-US/Scripts.xml +++ b/doc/SystemTap_Beginners_Guide/en-US/Scripts.xml @@ -114,6 +114,8 @@ probe kernel.function("*@net/socket.c").return { } SystemTap supports the use of a large collection of probe events. For more information about supported events, refer to man stapprobes. The SEE ALSO section of man stapprobes also contains links to other man pages that discuss supported events for specific subsystems and components. + +is reference appropriate? too advanced for readers (it seems so to me)? please advise.
@@ -142,6 +144,9 @@ probe begin The printf () statement is one of the simplest handler tools for printing data. printf () can also be used to trap data using a wide variety of SystemTap handler functions using the following format: + +is "handler tool" appropriate? + @@ -175,6 +180,8 @@ probe syscall.open instructs SystemTap to probe all entries to the system call open; for each event, it prints the current execname() (which is a string) and pid() (which is a number), followed by the word open. A snippet of this probe's output would look like: +editorial review: does a clarification that "variable1" is to "argument1", "variable2" is to "argument2", or is this clear enough? + vmware-guestd(2206) open hald(2360) open @@ -187,11 +194,13 @@ hald(2360) open - Handler Functions + Handler Functions SystemTap supports a wide variety of handler functions that can be used as printf () arguments. uses the handler functions execname() (current process name) and pid() (current process ID). - The following is a list of commonly-used handler functions: - + +is "handler function" an appropriate term? + + The following is a list of commonly-used handler functions: @@ -254,6 +263,7 @@ hald(2360) open For more information about supported handler functions, refer to man stapfuncs. +will need a complete listing of supported handler functions? also, handler function descriptions seem ambiguous, please advise.