perf tools: Add hist.percentage config option
authorNamhyung Kim <namhyung@kernel.org>
Tue, 14 Jan 2014 03:02:15 +0000 (12:02 +0900)
committerJiri Olsa <jolsa@redhat.com>
Wed, 16 Apr 2014 15:16:04 +0000 (17:16 +0200)
Add hist.percentage option for setting default value of the
symbol_conf.filter_relative.  It affects the output of various perf
commands (like perf report, top and diff) only if filter(s) applied.

An user can write .perfconfig file like below to show absolute
percentage of filtered entries by default:

  $ cat ~/.perfconfig
  [hist]
  percentage = absolute

And it can be changed through command line:

  $ perf report --percentage relative

Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Link: http://lkml.kernel.org/r/1397145720-8063-6-git-send-email-namhyung@kernel.org
Signed-off-by: Jiri Olsa <jolsa@redhat.com>
tools/perf/builtin-diff.c
tools/perf/util/config.c
tools/perf/util/hist.c
tools/perf/util/hist.h

Simple merge
Simple merge
Simple merge
Simple merge