[PATCH 0/5] perf tools: Add support for multiline headers and spans

From: Jiri Olsa
Date: Sun Aug 07 2016 - 11:28:44 EST


hi,
the c2c output readability heavily depends on headers
being displayed on multiple lines and allowing span
of some headers over multiple columns, like:

# Total %All Total ----- Core Load Hit ----- -- LLC Load Hit -- ----- LLC Load Hitm -----
# Index Cacheline records Ld Miss %hitm Loads FB L1 L2 Llc Rmt Total Lcl Rmt
# ..... .................... ....... ....... ....... ....... ....... ....... ....... ........ ........ ....... ....... .......
#
0 0x7fbe65acee00 203 2.37% 3.34% 162 26 72 0 20 2 39 11 28


I haven't found use for this under current perf code,
so there's no actual current user in perf code of
those features.

Also available in:
git://git.kernel.org/pub/scm/linux/kernel/git/jolsa/perf.git
perf/fixes

thanks,
jirka

---
Jiri Olsa (5):
perf tools: Introduce nr_header_lines into struct perf_hpp_list
perf tools: Add line argument into perf_hpp_fmt's header callback
perf tools tui: Display multiple header lines
perf tools stdio: Display multiple header lines
perf tools: Add support for header span

tools/perf/builtin-diff.c | 4 +++-
tools/perf/ui/browsers/hists.c | 48 +++++++++++++++++++++++++++++++++++-------------
tools/perf/ui/gtk/hists.c | 2 +-
tools/perf/ui/hist.c | 4 +++-
tools/perf/ui/stdio/hist.c | 45 ++++++++++++++++++++++++++++++++-------------
tools/perf/util/hist.h | 3 ++-
tools/perf/util/sort.c | 7 +++++--
7 files changed, 81 insertions(+), 32 deletions(-)