From: Namhyung Kim Date: Fri, 22 Aug 2014 00:13:21 +0000 (+0900) Subject: perf hists browser: Consolidate callchain print functions in TUI X-Git-Tag: omap-for-v3.19/prcm-cleanup~97^2~27^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=39ee533fcc7feb5b7938a3973a2bf5ad79bb595b;p=pandora-kernel.git 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 Cc: Andi Kleen Cc: David Ahern Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Jiri Olsa Cc: Namhyung Kim Cc: Paul Mackerras Cc: Peter Zijlstra Link: http://lkml.kernel.org/r/1408666401-594-1-git-send-email-namhyung@kernel.org Signed-off-by: Arnaldo Carvalho de Melo --- Reading git-diff-tree failed