diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2011-10-05 18:30:22 -0400 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2011-10-07 15:59:59 -0400 |
commit | 19d4ac3c1039fb952f4c073fd0898e9295a836c8 (patch) | |
tree | 56acd6c60a518297713a5392acd8813cf4ef768a /tools/perf/Documentation | |
parent | ab81f3fd350c510730adb1ca40ef55c2b2952121 (diff) |
perf top: Add callgraph support
Just like in 'perf report', but live.
Still needs to decay the callchains, but already somewhat useful as-is.
Cc: David Ahern <dsahern@gmail.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/n/tip-cj3rmaf5jpsvi3v0tf7t4uvp@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/Documentation')
-rw-r--r-- | tools/perf/Documentation/perf-top.txt | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/tools/perf/Documentation/perf-top.txt b/tools/perf/Documentation/perf-top.txt index d146ba33d691..e2e5cd0023cd 100644 --- a/tools/perf/Documentation/perf-top.txt +++ b/tools/perf/Documentation/perf-top.txt | |||
@@ -126,6 +126,21 @@ Default is to monitor all CPUS. | |||
126 | --symbols:: | 126 | --symbols:: |
127 | Only consider these symbols. | 127 | Only consider these symbols. |
128 | 128 | ||
129 | -G [type,min,order]:: | ||
130 | --call-graph:: | ||
131 | Display call chains using type, min percent threshold and order. | ||
132 | type can be either: | ||
133 | - flat: single column, linear exposure of call chains. | ||
134 | - graph: use a graph tree, displaying absolute overhead rates. | ||
135 | - fractal: like graph, but displays relative rates. Each branch of | ||
136 | the tree is considered as a new profiled object. | ||
137 | |||
138 | order can be either: | ||
139 | - callee: callee based call graph. | ||
140 | - caller: inverted caller based call graph. | ||
141 | |||
142 | Default: fractal,0.5,callee. | ||
143 | |||
129 | INTERACTIVE PROMPTING KEYS | 144 | INTERACTIVE PROMPTING KEYS |
130 | -------------------------- | 145 | -------------------------- |
131 | 146 | ||