]> git.baikalelectronics.ru Git - kernel.git/commit
perf config: Introduce perf_config_set class
authorTaeung Song <treeze.taeung@gmail.com>
Thu, 14 Apr 2016 07:53:18 +0000 (16:53 +0900)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 14 Apr 2016 12:00:42 +0000 (09:00 -0300)
commit1c4772034b82fdb97106a680fbad43842f39b1e1
tree6df34d0dddab226e68a47dd4e019cb6d2714b989
parent0b1a92f2d1d62c869f419c79e6ea0fb14ed3517f
perf config: Introduce perf_config_set class

This infrastructure code was designed for upcoming features of
'perf config'.

That collect config key-value pairs from user and system config files
(i.e. user wide ~/.perfconfig and system wide $(sysconfdir)/perfconfig)
to manage perf's configs.

Reviewed-by: Masami Hiramatsu <mhiramat@kernel.org>
Signed-off-by: Taeung Song <treeze.taeung@gmail.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/1460620401-23430-2-git-send-email-treeze.taeung@gmail.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/config.c
tools/perf/util/config.h [new file with mode: 0644]