]> git.baikalelectronics.ru Git - kernel.git/commit
perf hists browser: Fix dump to show correct callchain style
authorNamhyung Kim <namhyung@kernel.org>
Wed, 27 Jan 2016 15:40:54 +0000 (00:40 +0900)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 1 Feb 2016 20:44:30 +0000 (17:44 -0300)
commit1b42b5a9e7c80d84ab2e6f206086a731bedc561c
treee64f53008d93292d7c3d90e9d5a7457e8d4a2e49
parent79f6a8c12c77027987877353c3883e3854ca9b05
perf hists browser: Fix dump to show correct callchain style

The commit f706f9d3929c ("perf hists browser: Support folded
callchains") missed to update hist_browser__dump() so it always shows
graph-style callchains regardless of current setting.

To fix that, factor out callchain printing code and rename the existing
function which prints graph-style callchain.

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: Jiri Olsa <jolsa@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Wang Nan <wangnan0@huawei.com>
Fixes: f706f9d3929c ("perf hists browser: Support folded callchains")
Link: http://lkml.kernel.org/r/1453909257-26015-8-git-send-email-namhyung@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/ui/browsers/hists.c