Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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: Sangwon Hong <qpakzk@gmail.com>
Acked-by: Jiri 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.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>

authored by

Sangwon Hong and committed by
Arnaldo Carvalho de Melo
3138a2ef e9add8ba

+29 -12
+29 -12
tools/perf/Documentation/perf-mem.txt
··· 28 28 <command>...:: 29 29 Any command you can specify in a shell. 30 30 31 + -i:: 32 + --input=<file>:: 33 + Input file name. 34 + 31 35 -f:: 32 36 --force:: 33 37 Don't do ownership validation 34 38 35 39 -t:: 36 - --type=:: 40 + --type=<type>:: 37 41 Select the memory operation type: load or store (default: load,store) 38 42 39 43 -D:: 40 - --dump-raw-samples=:: 44 + --dump-raw-samples:: 41 45 Dump the raw decoded samples on the screen in a format that is easy to parse with 42 46 one sample per line. 43 47 44 48 -x:: 45 - --field-separator:: 49 + --field-separator=<separator>:: 46 50 Specify the field separator used when dump raw samples (-D option). By default, 47 51 The separator is the space character. 48 52 49 53 -C:: 50 - --cpu-list:: 51 - Restrict dump of raw samples to those provided via this option. Note that the same 52 - option can be passed in record mode. It will be interpreted the same way as perf 53 - record. 54 + --cpu=<cpu>:: 55 + Monitor only on the list of CPUs provided. Multiple CPUs can be provided as a 56 + comma-separated list with no space: 0,1. Ranges of CPUs are specified with -: 0-2. Default 57 + is to monitor all CPUS. 58 + -U:: 59 + --hide-unresolved:: 60 + Only display entries resolved to a symbol. 61 + 62 + -p:: 63 + --phys-data:: 64 + Record/Report sample physical addresses 65 + 66 + RECORD OPTIONS 67 + -------------- 68 + -e:: 69 + --event <event>:: 70 + Event selector. Use 'perf mem record -e list' to list available events. 54 71 55 72 -K:: 56 73 --all-kernel:: ··· 77 60 --all-user:: 78 61 Configure all used events to run in user space. 79 62 80 - --ldload:: 81 - Specify desired latency for loads event. 63 + -v:: 64 + --verbose:: 65 + Be more verbose (show counter open errors, etc) 82 66 83 - -p:: 84 - --phys-data:: 85 - Record/Report sample physical addresses 67 + --ldlat <n>:: 68 + Specify desired latency for loads event. 86 69 87 70 In addition, for report all perf report options are valid, and for record 88 71 all perf record options.