diff options
| author | Arnaldo Carvalho de Melo <[email protected]> | 2010-05-09 23:28:10 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2010-05-10 00:15:35 +0000 |
| commit | 232a5c948da5e23dff27e48180abf4a4238f7602 (patch) | |
| tree | bf17e2e428a77b656946e798e3b099dc09c658be /tools/perf/util/scripting-engines/trace-event-python.c | |
| parent | perf session: Embed the host machine data on perf_session (diff) | |
| download | kernel-232a5c948da5e23dff27e48180abf4a4238f7602.tar.gz kernel-232a5c948da5e23dff27e48180abf4a4238f7602.zip | |
perf report: Allow limiting the number of entries to print in callchains
Works by adding a third parameter to the '-g' argument, after the graph
type and minimum percentage, for example:
[root@doppio linux-2.6-tip]# perf report -g fractal,0.5,2
Will show only the first two symbols where at least 0.5% of the samples
took place.
All the other symbols that don't fall outside these constraints will be
put together in the last entry, prefixed with "[...]" and the total
percentage for them.
Suggested-by: Arjan van de Ven <[email protected]>
Acked-by: Arjan van de Ven <[email protected]>
Cc: Arjan van de Ven <[email protected]>
Cc: Frédéric Weisbecker <[email protected]>
Cc: Mike Galbraith <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Tom Zanussi <[email protected]>
LKML-Reference: <new-submission>
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions
