]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
perf config: Use new perf_config_set__init() to initialize config set
authorTaeung Song <treeze.taeung@gmail.com>
Tue, 7 Jun 2016 09:26:12 +0000 (18:26 +0900)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 7 Jun 2016 14:01:25 +0000 (11:01 -0300)
commit8beeb00f2c8498686eee02b8edcd1488b903c90b
tree7922c6fcdc79789c969a055f235f1095e955975d
parent25d8f48f78f37dd6af08bd11212ab3d53a4c8cc6
perf config: Use new perf_config_set__init() to initialize config set

Instead of perf_config(), this function initializes config set by
reading various files: user config ~/.perfconfig and system config
$(sysconfdir)/perfconfig).

If there are the same config variable in both user and system config
files, user config has higher priority than system config.

Signed-off-by: Taeung Song <treeze.taeung@gmail.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Masami Hiramatsu <mhiramat@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/1465291577-20973-3-git-send-email-treeze.taeung@gmail.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/config.c