Commit 3138a2ef authored by Sangwon Hong's avatar Sangwon Hong Committed by Arnaldo Carvalho de Melo

perf mem: Document incorrect and missing options

Several options were incorrectly described, some lacked describing
required arguments while others were simply not documented, fix it.
Signed-off-by: default avatarSangwon Hong <qpakzk@gmail.com>
Acked-by: default avatarJiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Taeung Song <treeze.taeung@gmail.com>
Link: http://lkml.kernel.org/r/1524382146-19609-1-git-send-email-qpakzk@gmail.comSigned-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
parent e9add8ba
...@@ -28,29 +28,46 @@ OPTIONS ...@@ -28,29 +28,46 @@ OPTIONS
<command>...:: <command>...::
Any command you can specify in a shell. Any command you can specify in a shell.
-i::
--input=<file>::
Input file name.
-f:: -f::
--force:: --force::
Don't do ownership validation Don't do ownership validation
-t:: -t::
--type=:: --type=<type>::
Select the memory operation type: load or store (default: load,store) Select the memory operation type: load or store (default: load,store)
-D:: -D::
--dump-raw-samples=:: --dump-raw-samples::
Dump the raw decoded samples on the screen in a format that is easy to parse with Dump the raw decoded samples on the screen in a format that is easy to parse with
one sample per line. one sample per line.
-x:: -x::
--field-separator:: --field-separator=<separator>::
Specify the field separator used when dump raw samples (-D option). By default, Specify the field separator used when dump raw samples (-D option). By default,
The separator is the space character. The separator is the space character.
-C:: -C::
--cpu-list:: --cpu=<cpu>::
Restrict dump of raw samples to those provided via this option. Note that the same Monitor only on the list of CPUs provided. Multiple CPUs can be provided as a
option can be passed in record mode. It will be interpreted the same way as perf comma-separated list with no space: 0,1. Ranges of CPUs are specified with -: 0-2. Default
record. is to monitor all CPUS.
-U::
--hide-unresolved::
Only display entries resolved to a symbol.
-p::
--phys-data::
Record/Report sample physical addresses
RECORD OPTIONS
--------------
-e::
--event <event>::
Event selector. Use 'perf mem record -e list' to list available events.
-K:: -K::
--all-kernel:: --all-kernel::
...@@ -60,12 +77,12 @@ OPTIONS ...@@ -60,12 +77,12 @@ OPTIONS
--all-user:: --all-user::
Configure all used events to run in user space. Configure all used events to run in user space.
--ldload:: -v::
Specify desired latency for loads event. --verbose::
Be more verbose (show counter open errors, etc)
-p:: --ldlat <n>::
--phys-data:: Specify desired latency for loads event.
Record/Report sample physical addresses
In addition, for report all perf report options are valid, and for record In addition, for report all perf report options are valid, and for record
all perf record options. all perf record options.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment