]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
perf hists browser: Move coloring logic to hpp functions
authorNamhyung Kim <namhyung.kim@lge.com>
Tue, 22 Jan 2013 09:09:38 +0000 (18:09 +0900)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 31 Jan 2013 16:07:47 +0000 (13:07 -0300)
commit897014603c4786ef33450e675e02a5e74dc63785
tree3f79f59a53f340f86044f8b5cd66ff6921a7228a
parent5b9e2146ec4f8c6d436f9f7043a0409a4296a705
perf hists browser: Move coloring logic to hpp functions

Move coloring logic into the hpp functions so that each value can
be colored independently.  It'd required for event group view.

For overhead column, add a callback for printing 'folded_sign' of
callchains of a hist entry.

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/1358845787-1350-11-git-send-email-namhyung@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/ui/browsers/hists.c