Skip to content

Commit d9ca43c

Browse files
ahunter6acmel
authored andcommitted
perf inject: Fix missing guestmount option documentation
The 'perf inject' documentation is missing the guestmount option. Add it. Fixes: 97406a7 ("perf inject: Add support for injecting guest sideband events") Signed-off-by: Adrian Hunter <[email protected]> Cc: Adrian Hunter <[email protected]> Cc: Ian Rogers <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Namhyung Kim <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
1 parent 696d0a4 commit d9ca43c

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

tools/perf/Documentation/perf-inject.txt

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,18 @@ include::itrace.txt[]
102102
should be used, and also --buildid-all and --switch-events may be
103103
useful.
104104

105+
--guestmount=<path>::
106+
Guest OS root file system mount directory. Users mount guest OS
107+
root directories under <path> by a specific filesystem access method,
108+
typically, sshfs.
109+
For example, start 2 guest OS, one's pid is 8888 and the other's is 9999:
110+
[verse]
111+
$ mkdir \~/guestmount
112+
$ cd \~/guestmount
113+
$ sshfs -o allow_other,direct_io -p 5551 localhost:/ 8888/
114+
$ sshfs -o allow_other,direct_io -p 5552 localhost:/ 9999/
115+
$ perf inject --guestmount=~/guestmount
116+
105117
SEE ALSO
106118
--------
107119
linkperf:perf-record[1], linkperf:perf-report[1], linkperf:perf-archive[1],

0 commit comments

Comments
 (0)