summaryrefslogtreecommitdiff
path: root/tools/perf/builtin-top.c
diff options
context:
space:
mode:
authorNamhyung Kim <namhyung@gmail.com>2011-12-27 15:35:49 (GMT)
committerArnaldo Carvalho de Melo <acme@redhat.com>2012-01-03 16:36:32 (GMT)
commit15e6392feec311f1e409d77e1ccfe51c1d940365 (patch)
treef05f7251d39ae656c3157ac97716033c369e247a /tools/perf/builtin-top.c
parent29c9862f1b818bf4caa4c48a30dbe5f25c84ee08 (diff)
downloadlinux-fsl-qoriq-15e6392feec311f1e409d77e1ccfe51c1d940365.tar.xz
perf stat: Introduce get_ratio_color() helper
The get_ratio_color() returns appropriate color string based on @ratio. It helps reducing code duplication. Cc: Ingo Molnar <mingo@elte.hu> Cc: Paul Mackerras <paulus@samba.org> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Link: http://lkml.kernel.org/r/1325000151-4463-2-git-send-email-namhyung@gmail.com Signed-off-by: Namhyung Kim <namhyung@gmail.com> Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/builtin-top.c')
0 files changed, 0 insertions, 0 deletions