perf record: Avoid duplicate call of perf_default_config()
authorYisheng Xie <[email protected]>
Mon, 12 Mar 2018 11:25:57 +0000 (19:25 +0800)
committerArnaldo Carvalho de Melo <[email protected]>
Fri, 16 Mar 2018 16:55:58 +0000 (13:55 -0300)
commitcff17205d6bd363703034510a84d66044aff176e
treef90fd62489b60ed3fb057632e359596d59e8c1d7
parent3d20c6246690219881786de10d2dda93f616d0ac
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 <[email protected]>
Cc: Alexander Shishkin <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
tools/perf/builtin-record.c