Re: [PATCH 2/2] perf record: Avoid duplicate call of perf_default_config()

2018-03-12 Thread Arnaldo Carvalho de Melo
Em Mon, Mar 12, 2018 at 07:25:57PM +0800, Yisheng Xie escreveu: > 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. Thanks, applied. > Signed-off-by:

Re: [PATCH 2/2] perf record: Avoid duplicate call of perf_default_config()

2018-03-12 Thread Arnaldo Carvalho de Melo
Em Mon, Mar 12, 2018 at 07:25:57PM +0800, Yisheng Xie escreveu: > 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. Thanks, applied. > Signed-off-by:

[PATCH 2/2] perf record: Avoid duplicate call of perf_default_config()

2018-03-12 Thread Yisheng Xie
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 --- tools/perf/builtin-record.c | 8 +--- 1 file

[PATCH 2/2] perf record: Avoid duplicate call of perf_default_config()

2018-03-12 Thread Yisheng Xie
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 --- tools/perf/builtin-record.c | 8 +--- 1 file changed, 5 insertions(+),