Re: [PATCH v3] perf hists browser: Consolidate callchain print functions in TUI

2014-08-22 Thread Arnaldo Carvalho de Melo
Em Fri, Aug 22, 2014 at 09:13:21AM +0900, Namhyung Kim escreveu: > 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 gener

[PATCH v3] perf hists browser: Consolidate callchain print functions in TUI

2014-08-21 Thread Namhyung Kim
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