diff options
| author | Arnaldo Carvalho de Melo <[email protected]> | 2010-03-22 20:52:49 +0000 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2010-03-22 20:58:08 +0000 |
| commit | 4ded2b250f1fbba4e414d17dc55ee513485c0aa1 (patch) | |
| tree | a6f3f21bfaaa54b0637acf3d6caea97e8653df6e /tools/perf/builtin-annotate.c | |
| parent | perf tools: Exit browser before printing usage when unkown option passed (diff) | |
| download | kernel-4ded2b250f1fbba4e414d17dc55ee513485c0aa1.tar.gz kernel-4ded2b250f1fbba4e414d17dc55ee513485c0aa1.zip | |
perf report: Implement Newt callgraphs
Starts collapsed, allows annotating by pressing 'A' or 'a' on
the symbol, be it the top level one or any of the symbols in the
chains.
It (ab)uses the only tree widget in newt, that is actually a
checkbox tree that we use with just one option ('.'), end result
is usable but we really need to create a custom widget tree so
that we can use the data structures we have (hist_entry rb_tree
+ callchain rb_tree + lists), so that we reduce the memory
footprint by not creating a mirror set of data structures in the
newtCheckboxTree widget.
Thanks to Frédéric Weisbacker for fixing the orphanage problem
in 301fde2, without that we were tripping a newt bug (fix
already sent to newt's maintainer).
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Cc: Avi Kivity <[email protected]>
Cc: Frédéric Weisbecker <[email protected]>
Cc: Mike Galbraith <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Paul Mackerras <[email protected]>
LKML-Reference: <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/builtin-annotate.c')
0 files changed, 0 insertions, 0 deletions
