perf_counter tools: Standardize color printing
[firefly-linux-kernel-4.4.55.git] / tools / perf / builtin-annotate.c
index 0e23fe98ec4ec8da0ca26131a5bd96f8a957b6ef..3334a8bb1d513870c7b0c73cf04455f61f0a89ca 100644 (file)
@@ -1085,8 +1085,9 @@ parse_line(FILE *file, struct symbol *sym, uint64_t start, uint64_t len)
                        percent = 100.0 * hits / sym->hist_sum;
 
                /*
-                * We color high-overhead entries in red, low-overhead
-                * entries in green - and keep the middle ground normal:
+                * We color high-overhead entries in red, mid-overhead
+                * entries in green - and keep the low overhead places
+                * normal:
                 */
                if (percent >= 5.0)
                        color = PERF_COLOR_RED;