perf ui/gtk: Reuse generic __hpp__fmt() code
authorNamhyung Kim <[email protected]>
Mon, 3 Mar 2014 01:14:03 +0000 (10:14 +0900)
committerArnaldo Carvalho de Melo <[email protected]>
Fri, 14 Mar 2014 21:08:38 +0000 (18:08 -0300)
commit4a62109fe94f68a57b239c1516f97497a4d15c14
tree23c29b70f99eec34e3f929d95e6c6accb4d875c1
parent9b0d2fb86d4737b2cda39bc9c9a8e368cec38960
perf ui/gtk: Reuse generic __hpp__fmt() code

The __hpp__color_fmt used in the gtk code can be replace by the generic
code with small change in print_fn callback.

This is a preparation to upcoming changes and no functional changes
intended.

Signed-off-by: Namhyung Kim <[email protected]>
Acked-by: Pekka Enberg <[email protected]>
Cc: Andi Kleen <[email protected]>
Cc: David Ahern <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: Pekka Enberg <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
tools/perf/ui/gtk/hists.c
tools/perf/ui/hist.c
tools/perf/util/hist.h