diff options
author | Taeung Song <treeze.taeung@gmail.com> | 2016-04-14 16:53:19 +0900 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2016-04-14 09:15:47 -0300 |
commit | 860b8d4b3f893c97f905b978ecf62f48816dc5de (patch) | |
tree | 12aeecb0452bd85432b8c15f48fb1e7957bbc498 /drivers/scsi/mvme147.c | |
parent | 20105ca1240c3d3ac8cc79bf195022e5e5c1c3fb (diff) | |
download | linux-860b8d4b3f893c97f905b978ecf62f48816dc5de.tar.bz2 |
perf config: Make show_config() use perf_config_set
Currently show_config() has a problem when user and system config files
have the same config variables i.e.:
# cat ~/.perfconfig
[top]
children = false
When $(sysconfdir) is /usr/local/etc
# cat /usr/local/etc/perfconfig
[top]
children = true
Before:
# perf config --user --list
top.children=false
# perf config --system --list
top.children=true
# perf config --list
top.children=true
top.children=false
Because perf_config() can call show_config() each the config file (user
and system). Fix it.
After:
# perf config --user --list
top.children=false
# perf config --system --list
top.children=true
# perf config --list
top.children=false
Signed-off-by: Taeung Song <treeze.taeung@gmail.com>
Tested-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Masami Hiramatsu <mhiramat@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/1460620401-23430-3-git-send-email-treeze.taeung@gmail.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'drivers/scsi/mvme147.c')
0 files changed, 0 insertions, 0 deletions