]> sourceware.org Git - systemtap.git/commitdiff
PR12331: Document --sysroot and --sysenv
authorWade Farnsworth <wade_farnsworth@mentor.com>
Thu, 8 Mar 2012 14:49:58 +0000 (07:49 -0700)
committerJosh Stone <jistone@redhat.com>
Fri, 9 Mar 2012 00:38:04 +0000 (16:38 -0800)
Update stap.1 and NEWS to document the new options.

stap.1

diff --git a/stap.1 b/stap.1
index 43658de05705bfba957f954e939d28ce841aa288..52afb0d8e8d11b93f1cbc761a304def25ebc4a4d 100644 (file)
--- a/stap.1
+++ b/stap.1
@@ -555,6 +555,19 @@ no limits are imposed.
 Specify the maximum size of files that the process may create, in bytes. If nothing is specified, no limits are
 imposed.
 
+.TP
+.BI \-\-sysroot "=DIR"
+Specify sysroot directory where target files (executables, libraries, etc.)
+are located.  With \fI\-r RELEASE\fR, the sysroot will be searched for the
+appropriate kernel build directory.  With \fI\-r /DIR\fR, however, the sysroot
+will not be used to find the kernel build.
+
+.TP
+.BI \-\-sysenv "=VAR=VALUE"
+Provide an alternate value for an environment variable where the value on a
+remote system differs.  Path variables (e.g. PATH, LD_LIBRARY_PATH) are assumed
+to be relative to the directory provided by \fI\-\-sysroot\fR, if provided.
+
 .SH ARGUMENTS
 
 Any additional arguments on the command line are passed to the script
This page took 0.03381 seconds and 5 git commands to generate.