]> git.baikalelectronics.ru Git - kernel.git/commit
perf config: Refactor a duplicated code for obtaining config file name
authorTaeung Song <treeze.taeung@gmail.com>
Wed, 26 Apr 2017 12:21:02 +0000 (21:21 +0900)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 2 May 2017 21:23:12 +0000 (18:23 -0300)
commit62707f0309242cd6328523d4ee0a084e6f1b2ac1
treee0a42eaa23d86d7c4dec928bfb32702c7653c390
parente105510670c1548920e6c3b7823358114d34bc28
perf config: Refactor a duplicated code for obtaining config file name

We were doing the same sequence to figure out what is the config
pathname to use, fix it by doing it before those two uses.

Signed-off-by: Taeung Song <treeze.taeung@gmail.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Link: http://lkml.kernel.org/r/1493209268-5543-2-git-send-email-treeze.taeung@gmail.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-config.c