summaryrefslogtreecommitdiffstats
path: root/doc/SystemTap_Beginners_Guide
diff options
context:
space:
mode:
authorddomingo <ddomingo@redhat.com>2008-10-06 16:17:36 +1000
committerddomingo <ddomingo@redhat.com>2008-10-06 16:17:36 +1000
commitd77fecabffb83a90c7ef7b6ad81a183beb345330 (patch)
treedffbc5f05006fcd916abcddc8acce2e257ff576a /doc/SystemTap_Beginners_Guide
parent986ad45b8bdbe661a44da48cae26977d923fa47d (diff)
downloadsystemtap-steved-d77fecabffb83a90c7ef7b6ad81a183beb345330.tar.gz
systemtap-steved-d77fecabffb83a90c7ef7b6ad81a183beb345330.tar.xz
systemtap-steved-d77fecabffb83a90c7ef7b6ad81a183beb345330.zip
added target(), -c and -x to functions, also added Basic Constructs (conditional statements and variables)
Diffstat (limited to 'doc/SystemTap_Beginners_Guide')
-rw-r--r--doc/SystemTap_Beginners_Guide/en-US/Scripts.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/SystemTap_Beginners_Guide/en-US/Scripts.xml b/doc/SystemTap_Beginners_Guide/en-US/Scripts.xml
index 4abd81a5..8888c7b8 100644
--- a/doc/SystemTap_Beginners_Guide/en-US/Scripts.xml
+++ b/doc/SystemTap_Beginners_Guide/en-US/Scripts.xml
@@ -416,7 +416,7 @@ probe kernel.function("*@net/socket.c").return
<varlistentry>
<term>target()</term>
<listitem>
- <para>Used in conjunction with <command>stap <replaceable>script</replaceable> -x <replaceable>process ID</replaceable></command> or <command>stap <replaceable>script</replaceable> -c <replaceable>command</replaceable>. If you want to specify a script to take an argument of a process ID or command, use <command>target()</command> as the variable in the script to refer to it. For example:</para>
+ <para>Used in conjunction with <command>stap <replaceable>script</replaceable> -x <replaceable>process ID</replaceable></command> or <command>stap <replaceable>script</replaceable> -c <replaceable>command</replaceable></command>. If you want to specify a script to take an argument of a process ID or command, use <command>target()</command> as the variable in the script to refer to it. For example:</para>
<example id="targetexample">
<title>targetexample.stp</title>