This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[PATCH] Add the '-p4' options when exemplifying the module compilation
- From: Nikolay Borisov <n dot borisov dot lkml at gmail dot com>
- To: systemtap at sourceware dot org
- Cc: fche at redhat dot com, Nikolay Borisov <n dot borisov dot lkml at gmail dot com>
- Date: Mon, 27 Jun 2016 19:46:35 +0300
- Subject: [PATCH] Add the '-p4' options when exemplifying the module compilation
- Authentication-results: sourceware.org; auth=none
Currently the example command which supposedly should compile the
instrumentation module is missing the '-p4' option, meaning that
upon running it will compile and run the module. In order to make
the command more in sync with what this particular chapter is about,
add the -p4 options so that after running the command the user gets
to copy the resulting module.
Signed-off-by: Nikolay Borisov <n.borisov.lkml@gmail.com>
---
doc/SystemTap_Beginners_Guide/en-US/CrossInstrumenting.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/doc/SystemTap_Beginners_Guide/en-US/CrossInstrumenting.xml b/doc/SystemTap_Beginners_Guide/en-US/CrossInstrumenting.xml
index 3e5a4855ec60..c840a969014f 100644
--- a/doc/SystemTap_Beginners_Guide/en-US/CrossInstrumenting.xml
+++ b/doc/SystemTap_Beginners_Guide/en-US/CrossInstrumenting.xml
@@ -258,7 +258,7 @@
appropriate values):
</para>
-<screen><command>stap -r <replaceable>kernel_version</replaceable> <replaceable>script</replaceable> -m <replaceable>module_name</replaceable></command></screen>
+<screen><command>stap -p4 -r <replaceable>kernel_version</replaceable> <replaceable>script</replaceable> -m <replaceable>module_name</replaceable></command></screen>
<para>
Here, <replaceable>kernel_version</replaceable> refers to
--
2.7.4