summaryrefslogtreecommitdiff
path: root/tools/perf/Documentation/perf-inject.txt
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/Documentation/perf-inject.txt')
-rw-r--r--tools/perf/Documentation/perf-inject.txt14
1 files changed, 3 insertions, 11 deletions
diff --git a/tools/perf/Documentation/perf-inject.txt b/tools/perf/Documentation/perf-inject.txt
index c741ca2107b1..ffc293fdf61d 100644
--- a/tools/perf/Documentation/perf-inject.txt
+++ b/tools/perf/Documentation/perf-inject.txt
@@ -102,17 +102,9 @@ include::itrace.txt[]
should be used, and also --buildid-all and --switch-events may be
useful.
---guestmount=<path>::
- Guest OS root file system mount directory. Users mount guest OS
- root directories under <path> by a specific filesystem access method,
- typically, sshfs.
- For example, start 2 guest OS, one's pid is 8888 and the other's is 9999:
-[verse]
- $ mkdir \~/guestmount
- $ cd \~/guestmount
- $ sshfs -o allow_other,direct_io -p 5551 localhost:/ 8888/
- $ sshfs -o allow_other,direct_io -p 5552 localhost:/ 9999/
- $ perf inject --guestmount=~/guestmount
+:GMEXAMPLECMD: inject
+:GMEXAMPLESUBCMD:
+include::guestmount.txt[]
SEE ALSO
--------