]> git.baikalelectronics.ru Git - kernel.git/commit
perf tools: Add inverted call graph report support.
authorSam Liao <phyomh@gmail.com>
Tue, 7 Jun 2011 15:49:46 +0000 (23:49 +0800)
committerFrederic Weisbecker <fweisbec@gmail.com>
Wed, 29 Jun 2011 22:24:30 +0000 (00:24 +0200)
commit1b67879f8cafddcdeb70b8756dcc490cb09e6024
treeaa28d98f61df71a2fba55e2b4b526c77aec8de0a
parent1f13fce4223557322d1d6cedc7ff6c8c0adba328
perf tools: Add inverted call graph report support.

Add "caller/callee" option to support inverted butterfly report,
in the inverted report (with caller option), the call graph start
from the callee's ancestor. Users can use such view to catch system's
performance bottleneck from a sysprof like view. Using this option
with specified sort order like pid gives us high level view of call
graph statistics.

Also add "-G" alias for inverted call graph.

Signed-off-by: Sam Liao <phyomh@gmail.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Stephane Eranian <eranian@google.com>
Cc: David Ahern <dsahern@gmail.com>
Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
tools/perf/Documentation/perf-report.txt
tools/perf/builtin-report.c
tools/perf/util/callchain.h
tools/perf/util/hist.c
tools/perf/util/session.c