perf ui/hist: Consolidate hpp helpers
authorNamhyung Kim <[email protected]>
Tue, 22 Jan 2013 09:09:34 +0000 (18:09 +0900)
committerArnaldo Carvalho de Melo <[email protected]>
Thu, 31 Jan 2013 16:07:45 +0000 (13:07 -0300)
commit4fb71074a570aab9ba8a30b7a756a3c637a14c03
tree26af752a720fb581362440f5617c32f70d921370
parent29d720ed5f897d7e26f6b36c12c7704dc200d107
perf ui/hist: Consolidate hpp helpers

Most of hpp helper functions do same jobs for different fields thus
consolidate them to appropriate functions/macros.

Signed-off-by: Namhyung Kim <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Stephane Eranian <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
tools/perf/ui/hist.c