perf ui: Get rid of callback from __hpp__fmt()
authorNamhyung Kim <namhyung@kernel.org>
Mon, 3 Mar 2014 08:05:19 +0000 (17:05 +0900)
committerJiri Olsa <jolsa@kernel.org>
Wed, 21 May 2014 09:45:34 +0000 (11:45 +0200)
commitfb821c9e7135e324ff6d50d030352718a80364b4
treea9fe1d532c0e0124b3045496f7cedc8ec258822a
parent26d8b338271a17a8a9b78000ebaec8b4645f5476
perf ui: Get rid of callback from __hpp__fmt()

The callback was used by TUI for determining color of folded sign
using percent of first field/column. But it cannot be used anymore
since it now support dynamic reordering of output field.

So move the logic to the hist_browser__show_entry().

Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Acked-by: Ingo Molnar <mingo@kernel.org>
Link: http://lkml.kernel.org/r/1400480762-22852-8-git-send-email-namhyung@kernel.org
Signed-off-by: Jiri Olsa <jolsa@kernel.org>
tools/perf/ui/browsers/hists.c
tools/perf/ui/gtk/hists.c
tools/perf/ui/hist.c
tools/perf/util/hist.h