mirror of
https://github.com/torvalds/linux.git
synced 2026-12-01 19:12:36 +00:00
Move common guest options into include files. Use attribute substitution to customize an example, using "[verse]" to define the block instead of a "literal" block which does not permit substitution. Signed-off-by: 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]>
12 lines
490 B
Plaintext
12 lines
490 B
Plaintext
--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 {GMEXAMPLECMD} --guestmount=~/guestmount {GMEXAMPLESUBCMD}
|