android_kernel_xiaomi_sm8350/tools/perf/util
Arnaldo Carvalho de Melo 4ded2b250f 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 <acme@redhat.com>
Cc: Avi Kivity <avi@redhat.com>
Cc: Frédéric Weisbecker <fweisbec@gmail.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Paul Mackerras <paulus@samba.org>
LKML-Reference: <1269291169-29820-1-git-send-email-acme@infradead.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2010-03-22 21:58:08 +01:00
..
include perf tools: Use eprintf for pr_{err,warning,info} too 2010-03-12 10:28:36 +01:00
scripting-engines perf/scripts: Remove unnecessary PyTuple resizes 2010-02-25 04:07:49 +01:00
abspath.c
alias.c
build-id.c perf build-id: Move the routine to find DSOs with hits to the lib 2010-02-04 09:33:26 +01:00
build-id.h perf build-id: Move the routine to find DSOs with hits to the lib 2010-02-04 09:33:26 +01:00
cache.h perf newt: Properly restore the screen when error exiting 2010-03-22 18:47:34 +01:00
callchain.c perf: Fix orphan callchain branches 2010-03-22 18:47:34 +01:00
callchain.h perf: Fix orphan callchain branches 2010-03-22 18:47:34 +01:00
color.c perf report: Implement initial UI using newt 2010-03-12 10:28:46 +01:00
color.h
config.c
cpumap.c perf tools: Fix sparse CPU numbering related bugs 2010-03-11 13:36:53 +01:00
cpumap.h perf tools: Fix sparse CPU numbering related bugs 2010-03-11 13:36:53 +01:00
ctype.c
debug.c perf report: Implement initial UI using newt 2010-03-12 10:28:46 +01:00
debug.h perf tools: Fix non-newt build 2010-03-13 08:23:37 +01:00
debugfs.c perf trace: Clean up find_debugfs() 2009-12-28 10:36:36 +01:00
debugfs.h perf tools: Mount debugfs automatically 2009-12-28 10:36:36 +01:00
environment.c
event.c Merge branch 'perf-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip 2010-02-28 10:20:25 -08:00
event.h perf session: Add storage for seperating event types in report 2010-03-10 13:53:48 +01:00
exec_cmd.c
exec_cmd.h
generate-cmdlist.sh
header.c perf tools: Clean up O_LARGEFILE et al usage 2010-02-04 10:03:03 +01:00
header.h perf buildid-cache: Add new command to manage build-id cache 2010-01-21 08:31:29 +01:00
help.c
help.h
hist.c perf: Fix orphan callchain branches 2010-03-22 18:47:34 +01:00
hist.h perf report: Implement initial UI using newt 2010-03-12 10:28:46 +01:00
levenshtein.c
levenshtein.h
map.c perf symbols: Improve debugging information about symtab origins 2010-02-25 12:27:17 +01:00
map.h perf symbols: Improve debugging information about symtab origins 2010-02-25 12:27:17 +01:00
newt.c perf report: Implement Newt callgraphs 2010-03-22 21:58:08 +01:00
pager.c
parse-events.c perf: Add attr->precise support to raw event parsing 2010-03-10 13:23:32 +01:00
parse-events.h
parse-options.c perf tools: Exit browser before printing usage when unkown option passed 2010-03-22 18:47:36 +01:00
parse-options.h
path.c
PERF-VERSION-GEN
probe-event.c perf probe: Cleanup debuginfo related code 2010-03-22 18:47:35 +01:00
probe-event.h perf probe: Add data structure member access support 2010-03-17 12:11:15 +01:00
probe-finder.c perf probe: Add data structure member access support 2010-03-17 12:11:15 +01:00
probe-finder.h perf probe: Cleanup debuginfo related code 2010-03-22 18:47:35 +01:00
quote.c
quote.h
run-command.c
run-command.h
session.c perf session: Add storage for seperating event types in report 2010-03-10 13:53:48 +01:00
session.h perf report: Implement initial UI using newt 2010-03-12 10:28:46 +01:00
sigchain.c
sigchain.h
sort.c perf diff: Use perf_session__fprintf_hists just like 'perf record' 2009-12-16 16:53:37 +01:00
sort.h perf diff: Use perf_session__fprintf_hists just like 'perf record' 2009-12-16 16:53:37 +01:00
strbuf.c
strbuf.h
string.c perf probe: Add lazy line matching support 2010-02-25 17:49:30 +01:00
string.h perf probe: Add lazy line matching support 2010-02-25 17:49:30 +01:00
strlist.c
strlist.h
svghelper.c
svghelper.h
symbol.c Merge branch 'perf/urgent' into perf/core 2010-03-17 11:31:48 +01:00
symbol.h Merge branch 'perf/urgent' into perf/core 2010-03-17 11:31:48 +01:00
thread.c perf events: Change perf parameter --pid to process-wide collection instead of thread-wide 2010-03-18 16:21:12 +01:00
thread.h perf events: Change perf parameter --pid to process-wide collection instead of thread-wide 2010-03-18 16:21:12 +01:00
trace-event-info.c perf tools: Convert getpagesize() uses to sysconf(_SC_GETPAGESIZE) 2010-01-16 10:58:46 +01:00
trace-event-parse.c perf/scripts: Move common code out of Perl-specific files 2010-02-23 20:37:29 +01:00
trace-event-read.c perf tools: Clean up O_LARGEFILE et al usage 2010-02-04 10:03:03 +01:00
trace-event-scripting.c perf/scripts: Add Python scripting engine 2010-02-25 04:07:29 +01:00
trace-event.h perf/scripts: Add Python scripting engine 2010-02-25 04:07:29 +01:00
types.h
usage.c
util.c perf: Fix implicit declaration of getline in util.c 2010-01-17 07:53:09 +01:00
util.h perf tools: Introduce xzalloc() for detecting out of memory conditions 2010-03-17 11:32:29 +01:00
values.c perf: Fix memory leak: counterwidth 2010-01-13 10:09:15 +01:00
values.h
wrapper.c