diff options
| author | Arnaldo Carvalho de Melo <[email protected]> | 2016-07-05 14:08:17 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2016-07-12 03:00:39 +0000 |
| commit | 53fe4ba1da92892f5a76fdc51b699eeb6b808a3a (patch) | |
| tree | a0ce3e3efa69bb35ef4719f7b4e67b5ada304a3d /tools/perf/tests/bpf-script-example.c | |
| parent | perf ui stdio: Add way to setup the color output mode selection (diff) | |
| download | kernel-53fe4ba1da92892f5a76fdc51b699eeb6b808a3a.tar.gz kernel-53fe4ba1da92892f5a76fdc51b699eeb6b808a3a.zip | |
perf annotate: Introduce --stdio-color to setup the color output mode selection
'perf annotate --stdio' will colorize entries with most hits and
possibly some other aspects of its output, but those colors gets
suppressed if we redirect the output to a non-tty, allow keeping the
colors by adding a new option, --stdio-color, now this use case will
also output escape sequences for colors:
$ perf annotate --stdio-color | more
Based-on-a-patch-by: Peter Zijlstra <[email protected]>
Cc: Adrian Hunter <[email protected]>
Cc: David Ahern <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Wang Nan <[email protected]>
Link: http://lkml.kernel.org/n/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/tests/bpf-script-example.c')
0 files changed, 0 insertions, 0 deletions
