]> 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)
commit74387d7824f763d760103daa9c40525c923040cd
treee64f53008d93292d7c3d90e9d5a7457e8d4a2e49
parent444aa42a844b630ffd89324d23d649c5d1527cc4
perf hists browser: Fix dump to show correct callchain style

The commit fe545f43c9c6 ("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: fe545f43c9c6 ("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