diff options
author | Andi Kleen <ak@linux.intel.com> | 2015-08-03 17:50:02 -0700 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2015-08-05 16:46:06 -0300 |
commit | b7a001d2067830a98e65d1bbbf99a6d435d70616 (patch) | |
tree | 14d939073a15e0a564b0ce7bd92d0fdda28e05e2 /tools/perf/builtin-trace.c | |
parent | 8011de7ab3b10c5352f3f0708f517de2722b0957 (diff) | |
download | lwn-b7a001d2067830a98e65d1bbbf99a6d435d70616.tar.gz lwn-b7a001d2067830a98e65d1bbbf99a6d435d70616.zip |
perf tools: Do not include escape sequences in color_vfprintf return
color_vprintf was including the length of the invisible escape sequences
in its return argument. Don't include them to make the return value
usable for indentation calculations.
v2: Add comment, rebase
Signed-off-by: Andi Kleen <ak@linux.intel.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/r/1438649408-20807-3-git-send-email-andi@firstfloor.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/builtin-trace.c')
0 files changed, 0 insertions, 0 deletions