Re: [PATCH 1/2] perf top: Fix top.call-graph works abnormal

2018-03-12 Thread Arnaldo Carvalho de Melo
Em Mon, Mar 12, 2018 at 07:25:56PM +0800, Yisheng Xie escreveu: > When try to add call-graph for top into .perfconfig file, like: > > [top] > call-graph = fp > > find it cannot work for perf_top_config() do not parse this option. Thanks, applied. - Arnaldo

[PATCH 1/2] perf top: Fix top.call-graph works abnormal

2018-03-12 Thread Yisheng Xie
When try to add call-graph for top into .perfconfig file, like: [top] call-graph = fp find it cannot work for perf_top_config() do not parse this option. Fix it by call perf_default_config() when config top.call-graph. Fixes: b8cbb349061e (perf config: Bring perf_default_confi