]> git.karo-electronics.de Git - linux-beck.git/commit
perf config: Reimplement show_config() using config_set__for_each
authorTaeung Song <treeze.taeung@gmail.com>
Thu, 23 Jun 2016 14:14:32 +0000 (23:14 +0900)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 23 Jun 2016 20:23:00 +0000 (17:23 -0300)
commit4a35b3497c413de8b409f9d75700eeb4772b21b8
treeaad3076b4ccaeea4b7d9a2213282e24c36ac60d4
parent8a0a9c7e9146781defc96f6743e7ee14ccc9ab23
perf config: Reimplement show_config() using config_set__for_each

Recently config_set__for_each got added.  In order to let show_config()
be short and clear, rewrite this function using it.

Signed-off-by: Taeung Song <treeze.taeung@gmail.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.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>
Cc: Wang Nan <wangnan0@huawei.com>
Link: http://lkml.kernel.org/r/1466691272-24117-4-git-send-email-treeze.taeung@gmail.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-config.c