[PATCHv2 0/5] perf tools tui: Display columns headers

From: Jiri Olsa
Date: Thu Jun 19 2014 - 07:41:40 EST


hi,
adding the way to display columns headers in perf TUI on
'H' press.

v2 changes:
- fixed resize/popup issues (Namhyung)
- display headers by default (Namhyung)
- add 'show-headers' config file option to setup
the headers displaying

Patches 1 and 2 are not necessary for the functionality,
they are just byproducts of another early way I tried,
but I think they could go in.

Also reachable in here:
git://git.kernel.org/pub/scm/linux/kernel/git/jolsa/perf.git
perf/core_headers

thanks,
jirka


Cc: Arnaldo Carvalho de Melo <acme@xxxxxxxxxx>
Cc: Corey Ashford <cjashfor@xxxxxxxxxxxxxxxxxx>
Cc: David Ahern <dsahern@xxxxxxxxx>
Cc: Frederic Weisbecker <fweisbec@xxxxxxxxx>
Cc: Ingo Molnar <mingo@xxxxxxxxxx>
Cc: Namhyung Kim <namhyung@xxxxxxxxxx>
Cc: Paul Mackerras <paulus@xxxxxxxxx>
Cc: Peter Zijlstra <a.p.zijlstra@xxxxxxxxx>
Signed-off-by: Jiri Olsa <jolsa@xxxxxxxxxx>
---
Jiri Olsa (5):
perf tools: Factor ui_browser ops out of ui_browser struct
perf tools: Remove ev_name argument from perf_evsel__hists_browse
perf tools: Fix scrollbar refresh row index
perf tools tui: Display columns header text on 'H' press
perf tools: Add report.show-headers config file option

tools/perf/builtin-report.c | 4 ++++
tools/perf/ui/browser.c | 39 ++++++++++++++++++-------------
tools/perf/ui/browser.h | 28 +++++++++++++---------
tools/perf/ui/browsers/annotate.c | 19 ++++++++-------
tools/perf/ui/browsers/header.c | 8 ++++---
tools/perf/ui/browsers/hists.c | 123 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++------------------
tools/perf/ui/browsers/map.c | 8 ++++---
tools/perf/ui/browsers/scripts.c | 2 +-
tools/perf/ui/tui/util.c | 8 ++++---
tools/perf/util/symbol.c | 1 +
tools/perf/util/symbol.h | 1 +
11 files changed, 173 insertions(+), 68 deletions(-)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/