path: root/tools/perf/Documentation
diff options
authorNamhyung Kim <>2016-02-25 00:13:48 +0900
committerArnaldo Carvalho de Melo <>2016-02-24 20:21:15 -0300
commit4251446d778e669db5ac9f86b02d38064bdbbf9a (patch)
tree2783693542b144a63e6f665eb8ce2c9a63b942e1 /tools/perf/Documentation
parente311ec1e5df6d5de377e67f704bca43fb023ca5e (diff)
perf report: Add --hierarchy option
The --hierarchy option is to show output in hierarchy mode. It extends folding/unfolding in the TUI and GTK browsers to support sort items as well as callchains. Users can toggle the items to see the performance result at wanted level. $ perf report --hierarchy --tui Overhead Command / Shared Object / Symbol -------------------------------------------------- + 32.96% gnome-shell - 15.11% swapper - 14.97% [kernel.vmlinux] 6.82% [k] intel_idle 0.66% [k] menu_select 0.43% [k] __hrtimer_start_range_ns ... Signed-off-by: Namhyung Kim <> Acked-by: Pekka Enberg <> Cc: Andi Kleen <> Cc: David Ahern <> Cc: Jiri Olsa <> Cc: Peter Zijlstra <> Cc: Stephane Eranian <> Cc: Wang Nan <> Link: Signed-off-by: Arnaldo Carvalho de Melo <>
Diffstat (limited to 'tools/perf/Documentation')
2 files changed, 4 insertions, 0 deletions
diff --git a/tools/perf/Documentation/perf-report.txt b/tools/perf/Documentation/perf-report.txt
index 89cab84e92fd..12113992ac9d 100644
--- a/tools/perf/Documentation/perf-report.txt
+++ b/tools/perf/Documentation/perf-report.txt
@@ -401,6 +401,9 @@ include::itrace.txt[]
When displaying traceevent output, do not use print fmt or plugins.
+ Enable hierarchical output.
diff --git a/tools/perf/Documentation/tips.txt b/tools/perf/Documentation/tips.txt
index e0ce9573b79b..5950b5a24efd 100644
--- a/tools/perf/Documentation/tips.txt
+++ b/tools/perf/Documentation/tips.txt
@@ -27,3 +27,4 @@ Skip collecing build-id when recording: perf record -B
To change sampling frequency to 100 Hz: perf record -F 100
See assembly instructions with percentage: perf annotate <symbol>
If you prefer Intel style assembly, try: perf annotate -M intel
+For hierarchical output, try: perf report --hierarchy