From: Ingo Molnar Date: Wed, 27 Apr 2011 10:16:10 +0000 (+0200) Subject: perf stat: Print branch misses warning colors X-Git-Tag: v3.0-rc1~404^2~11^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c78df6c1d49b5d798f1579141e3a12be7c325d1e;p=pandora-kernel.git perf stat: Print branch misses warning colors Print the missed-branches percentage with different warning level ASCII colors, as the percentage passes the 5%/10%/20% thresholds. These thresholds are set to relatively low levels, because on most CPUs even a moderate percentage of branch-misses already shows up as a slowdown. Acked-by: Peter Zijlstra Acked-by: Arnaldo Carvalho de Melo Cc: Frederic Weisbecker Link: http://lkml.kernel.org/n/tip-ybqukg7p86leiup7gl03ecgk@git.kernel.org Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed