diff options
author | Andi Kleen | 2015-08-04 02:50:02 +0200 |
---|---|---|
committer | Arnaldo Carvalho de Melo | 2015-08-05 21:46:06 +0200 |
commit | b7a001d2067830a98e65d1bbbf99a6d435d70616 (patch) | |
tree | 14d939073a15e0a564b0ce7bd92d0fdda28e05e2 /tools/perf/builtin-trace.c | |
parent | perf tools: Remove trail argument to color vsprintf (diff) | |
download | kernel-qcow2-linux-b7a001d2067830a98e65d1bbbf99a6d435d70616.tar.gz kernel-qcow2-linux-b7a001d2067830a98e65d1bbbf99a6d435d70616.tar.xz kernel-qcow2-linux-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