]> git.baikalelectronics.ru Git - kernel.git/commit
perf record: Avoid duplicate call of perf_default_config()
authorYisheng Xie <xieyisheng1@huawei.com>
Mon, 12 Mar 2018 11:25:57 +0000 (19:25 +0800)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 16 Mar 2018 16:55:58 +0000 (13:55 -0300)
commit7689f1578a9b60d3b72261ba7e5798a7619a8ed6
treef90fd62489b60ed3fb057632e359596d59e8c1d7
parent4fcd3bbd30b15e1bc3d11285478b7c3c5118c39e
perf record: Avoid duplicate call of perf_default_config()

We have brought perf_default_config to the very beginning at main(), so
it no need to call perf_default_config() once more for most of config in
perf-record but only for record.call-graph.

Signed-off-by: Yisheng Xie <xieyisheng1@huawei.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/1520853957-36106-2-git-send-email-xieyisheng1@huawei.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-record.c