linux/tools/perf/ui
Jiri Olsa 9754c4f9b2 perf hists: Add color overhead for stdio output buffer
Following commit tightened up the buffer size for output to strict width
of used format columns:

  99cf666 perf hists: Fix formatting of long symbol names

This works fine until you hit color overhead output which places extra
bytes into output buffer. We need to account for color overhead in the
output buffer. Adding maximum color byte size to the output buffer size.

Signed-off-by: Jiri Olsa <jolsa@redhat.com>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Corey Ashford <cjashfor@linux.vnet.ibm.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1382700293-1803-1-git-send-email-jolsa@redhat.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2013-10-28 16:05:59 -03:00
..
browsers perf annotate browser: Fix typo 2013-08-07 17:35:37 -03:00
gtk perf ui/gtk: Fix segmentation fault on perf_hpp__for_each_format loop 2013-08-07 17:35:39 -03:00
stdio perf hists: Add color overhead for stdio output buffer 2013-10-28 16:05:59 -03:00
tui perf tools: Remove dependency on libnewt 2013-04-01 12:23:21 -03:00
browser.c perf tools: Remove dependency on libnewt 2013-04-01 12:23:21 -03:00
browser.h perf tools: Remove dependency on libnewt 2013-04-01 12:23:21 -03:00
helpline.c perf ui/helpline: Introduce ui_helpline__vshow() 2012-12-09 08:46:04 -03:00
helpline.h perf ui/helpline: Introduce ui_helpline__vshow() 2012-12-09 08:46:04 -03:00
hist.c perf tools: Move hist_entry__period_snprintf into stdio code 2013-07-12 13:54:18 -03:00
keysyms.h perf hists browser: Add option for runtime switching perf data file 2013-02-06 18:09:24 -03:00
libslang.h
progress.c perf ui: Add ui_progress__finish() 2012-11-14 16:52:56 -03:00
progress.h perf ui: Add ui_progress__finish() 2012-11-14 16:52:56 -03:00
setup.c perf tools: Centralize default columns init in perf_hpp__init 2013-07-12 13:53:59 -03:00
ui.h perf tools: Remove dependency on libnewt 2013-04-01 12:23:21 -03:00
util.c perf evsel: Introduce perf_evsel__open_strerror method 2013-01-24 16:40:09 -03:00
util.h perf ui: Introduce struct perf_error_ops 2012-06-19 13:06:18 -03:00