diff options
author | ddomingo <ddomingo@redhat.com> | 2008-10-09 14:14:50 +1000 |
---|---|---|
committer | ddomingo <ddomingo@redhat.com> | 2008-10-09 14:14:50 +1000 |
commit | a6f1ed2e550699722ee8483018cb9230c62d1ace (patch) | |
tree | eac5c7be5fd9750e5b0a9ced009000f81c15ab8c /doc/SystemTap_Beginners_Guide/en-US/Scripts.xml | |
parent | 37cda13ed305fc4887536166c232f4aee087d862 (diff) | |
download | systemtap-steved-a6f1ed2e550699722ee8483018cb9230c62d1ace.tar.gz systemtap-steved-a6f1ed2e550699722ee8483018cb9230c62d1ace.tar.xz systemtap-steved-a6f1ed2e550699722ee8483018cb9230c62d1ace.zip |
added Counting Function Calls Made, other minor edits
Diffstat (limited to 'doc/SystemTap_Beginners_Guide/en-US/Scripts.xml')
-rw-r--r-- | doc/SystemTap_Beginners_Guide/en-US/Scripts.xml | 2 |
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 7914e79c..92dd8f1c 100644 --- a/doc/SystemTap_Beginners_Guide/en-US/Scripts.xml +++ b/doc/SystemTap_Beginners_Guide/en-US/Scripts.xml @@ -430,7 +430,7 @@ probe syscall.* { <para>When <xref linkend="targetexample"/> is run with the argument <command>-x <replaceable>process ID</replaceable></command>, it watches all system calls (as specified by the event <command>syscall.*</command>) and prints out the name of all system calls made by the specified process.</para> - <para>This has the same effect as specifying <command>if (pid() == <replaceable>process ID</replaceable></command> each time you wish to target a specific process. However, using <command>target()</command> makes it easier for you to re-use the script, giving you the ability to simply pass a process ID as an argument each time you wish to run the script (e.g. <command>stap targetexample.stp -x <replaceable>process ID</replaceable></command>).</para> + <para>This has the same effect as specifying <command>if (pid() == <replaceable>process ID</replaceable>)</command> each time you wish to target a specific process. However, using <command>target()</command> makes it easier for you to re-use the script, giving you the ability to simply pass a process ID as an argument each time you wish to run the script (e.g. <command>stap targetexample.stp -x <replaceable>process ID</replaceable></command>).</para> <!-- <note> <title>Note</title> |