diff options
authorBorislav Petkov <>2016-03-07 16:44:44 -0300
committerIngo Molnar <>2016-03-08 10:11:18 +0100
commitf594bae08183fb6b57db55387794ece3e1edf6f6 (patch)
parent4b633eba14627bcb1ef5c7a498e7dc308cd6a5d6 (diff)
perf stat: Document --detailed option
I'm surprised this remained undocumented since at least 2011. And it is actually a very useful switch, as Steve and I came to realize recently. Add the text from 2cba3ffb9a9d ("perf stat: Add -d -d and -d -d -d options to show more CPU events") which added the incrementing aspect to -d. Tested-by: Arnaldo Carvalho de Melo <> Signed-off-by: Borislav Petkov <> Signed-off-by: Arnaldo Carvalho de Melo <> Cc: Alexander Shishkin <> Cc: David Ahern <> Cc: Davidlohr Bueso <> Cc: Jiri Olsa <> Cc: Mel Gorman <> Cc: Namhyung Kim <> Cc: Peter Zijlstra <> Cc: Peter Zijlstra <> Cc: Steven Rostedt <> Cc: Thomas Gleixner <> Fixes: 2cba3ffb9a9d ("perf stat: Add -d -d and -d -d -d options to show more CPU events") Link: Signed-off-by: Ingo Molnar <>
1 files changed, 8 insertions, 0 deletions
diff --git a/tools/perf/Documentation/perf-stat.txt b/tools/perf/Documentation/perf-stat.txt
index 52ef7a9d50aa..14d9e8ffaff7 100644
--- a/tools/perf/Documentation/perf-stat.txt
+++ b/tools/perf/Documentation/perf-stat.txt
@@ -69,6 +69,14 @@ report::
scale/normalize counter values
+ print more detailed statistics, can be specified up to 3 times
+ -d: detailed events, L1 and LLC data cache
+ -d -d: more detailed events, dTLB and iTLB events
+ -d -d -d: very detailed events, adding prefetch events
repeat command and print average + stddev (max: 100). 0 means forever.