linux/tools/perf/ui/browsers
Namhyung Kim 39ee533fcc perf hists browser: Consolidate callchain print functions in TUI
Currently there're two callchain print functions in TUI - one for the
hists browser and another for file dump.  They do almost same job so
it'd be better consolidate the codes.

To do that, provide two callbacks to the generic logic - one for
printing and another for checking whether it should stop.

Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Cc: Andi Kleen <andi@firstfloor.org>
Cc: David Ahern <dsahern@gmail.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Namhyung Kim <namhyung.kim@lge.com>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1408666401-594-1-git-send-email-namhyung@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2014-08-24 08:11:19 -03:00
..
annotate.c perf annotate: Another fix for annotate_browser__callq() 2013-10-14 12:21:18 -03:00
header.c perf ui/tui: Implement header window 2013-12-26 11:22:02 -03:00
hists.c perf hists browser: Consolidate callchain print functions in TUI 2014-08-24 08:11:19 -03:00
map.c perf tools: Finish the removal of 'self' arguments 2013-11-05 15:32:36 -03:00
map.h perf tools: Finish the removal of 'self' arguments 2013-11-05 15:32:36 -03:00
scripts.c perf tools: No need to test against NULL before calling free() 2013-12-26 15:58:52 -03:00