aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/builtin-script.c
diff options
context:
space:
mode:
authorNamhyung Kim <[email protected]>2011-12-27 15:35:49 +0000
committerArnaldo Carvalho de Melo <[email protected]>2012-01-03 16:36:32 +0000
commit15e6392feec311f1e409d77e1ccfe51c1d940365 (patch)
treef05f7251d39ae656c3157ac97716033c369e247a /tools/perf/builtin-script.c
parentperf session: Remove impossible condition check (diff)
downloadkernel-15e6392feec311f1e409d77e1ccfe51c1d940365.tar.gz
kernel-15e6392feec311f1e409d77e1ccfe51c1d940365.zip
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 <[email protected]> Cc: Paul Mackerras <[email protected]> Cc: Peter Zijlstra <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Namhyung Kim <[email protected]> Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/builtin-script.c')
0 files changed, 0 insertions, 0 deletions