perf hists browser: Add ui.show-headers config file option
authorJiri Olsa <jolsa@kernel.org>
Fri, 27 Jun 2014 16:26:58 +0000 (18:26 +0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 7 Jul 2014 18:23:31 +0000 (15:23 -0300)
commitc83023676dc34f1b4422b842e1e2dc5c21bfc4dc
treecdcbb3448184ccbf935ade0dd58cb1536f62ee42
parent81a888fea2cfd727052926e95510c11981d9b1c2
perf hists browser: Add ui.show-headers config file option

Adding ui.show-headers config file option to define if the histogram
entries headers will start visible or not.

Currently columns headers are displayed by default, following
lines in ~/.perfconfig file will disable that:

  [ui]
        show-headers = false

Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Cc: Corey Ashford <cjashfor@linux.vnet.ibm.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Ingo Molnar <mingo@kernel.org>
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/1403886418-5556-4-git-send-email-jolsa@kernel.org
[ renamed symbol_conf.show_headers to .show_hist_headers ]
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/ui/browsers/hists.c
tools/perf/util/config.c
tools/perf/util/symbol.c
tools/perf/util/symbol.h