[lkml]   [2018]   [Apr]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Patch in this message
Subject[PATCH 07/12] perf mem: Document incorrect and missing options
From: Sangwon Hong <>

Several options were incorrectly described, some lacked describing
required arguments while others were simply not documented, fix it.

Signed-off-by: Sangwon Hong <>
Acked-by: Jiri Olsa <>
Cc: Namhyung Kim <>
Cc: Taeung Song <>
Signed-off-by: Arnaldo Carvalho de Melo <>
tools/perf/Documentation/perf-mem.txt | 41 +++++++++++++++++++++++++----------
1 file changed, 29 insertions(+), 12 deletions(-)

diff --git a/tools/perf/Documentation/perf-mem.txt b/tools/perf/Documentation/perf-mem.txt
index 8806ed5f3802..f8d2167cf3e7 100644
--- a/tools/perf/Documentation/perf-mem.txt
+++ b/tools/perf/Documentation/perf-mem.txt
@@ -28,29 +28,46 @@ OPTIONS
Any command you can specify in a shell.

+ Input file name.
Don't do ownership validation

Select the memory operation type: load or store (default: load,store)

Dump the raw decoded samples on the screen in a format that is easy to parse with
one sample per line.

Specify the field separator used when dump raw samples (-D option). By default,
The separator is the space character.

- Restrict dump of raw samples to those provided via this option. Note that the same
- option can be passed in record mode. It will be interpreted the same way as perf
- record.
+ Monitor only on the list of CPUs provided. Multiple CPUs can be provided as a
+ comma-separated list with no space: 0,1. Ranges of CPUs are specified with -: 0-2. Default
+ is to monitor all CPUS.
+ Only display entries resolved to a symbol.
+ Record/Report sample physical addresses
+--event <event>::
+ Event selector. Use 'perf mem record -e list' to list available events.

@@ -60,12 +77,12 @@ OPTIONS
Configure all used events to run in user space.

- Specify desired latency for loads event.
+ Be more verbose (show counter open errors, etc)

- Record/Report sample physical addresses
+--ldlat <n>::
+ Specify desired latency for loads event.

In addition, for report all perf report options are valid, and for record
all perf record options.
 \ /
  Last update: 2018-04-25 18:01    [W:0.121 / U:1.948 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site