From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751944AbcHGP2f (ORCPT ); Sun, 7 Aug 2016 11:28:35 -0400 Received: from mx1.redhat.com ([209.132.183.28]:57080 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751660AbcHGP2e (ORCPT ); Sun, 7 Aug 2016 11:28:34 -0400 From: Jiri Olsa To: Arnaldo Carvalho de Melo Cc: lkml , David Ahern , Ingo Molnar , Namhyung Kim , Peter Zijlstra Subject: [PATCH 0/5] perf tools: Add support for multiline headers and spans Date: Sun, 7 Aug 2016 17:28:25 +0200 Message-Id: <1470583710-1649-1-git-send-email-jolsa@kernel.org> X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.39]); Sun, 07 Aug 2016 15:28:33 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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(-)