perf hists browser: Use perf_hpp__format functions
authorNamhyung Kim <namhyung.kim@lge.com>
Mon, 3 Sep 2012 02:53:09 +0000 (11:53 +0900)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Sat, 8 Sep 2012 16:20:13 +0000 (13:20 -0300)
commitf5951d56a2ab4181b96806a4746895aaa5a3d72e
treebcc13e3c0d639fb4098db5eb69a8a52e465eb226
parent7e62ef44e89e7b7f2c48090a048f2a5dffa838c7
perf hists browser: Use perf_hpp__format functions

Override hpp->color functions for TUI. Because line coloring is done
outside of the function, it just sets the percent value and pass it.

Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1346640790-17197-5-git-send-email-namhyung@kernel.org
[ committer note: Keep previous layout by showing the overhead at column 1 ]
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/ui/browsers/hists.c
tools/perf/ui/tui/setup.c