Re: [PATCH v2] perf report: Fix debug messages with --call-graph option

2017-09-25 Thread Arnaldo Carvalho de Melo
Em Mon, Sep 25, 2017 at 03:02:51PM +0200, Jiri Olsa escreveu: > On Sat, Sep 23, 2017 at 04:18:14PM +0800, Mengting Zhang wrote: > > The patch fixes this issue by moving the warning out of the function > > parse_callchain_{mode,order,sort_key,value}. > > > > Signed-off-by: Mengting Zhang > > Acke

Re: [PATCH v2] perf report: Fix debug messages with --call-graph option

2017-09-25 Thread Jiri Olsa
On Sat, Sep 23, 2017 at 04:18:14PM +0800, Mengting Zhang wrote: > With --call-graph option, perf report can display call chains using > type, min percent threshold, optional print limit and order. And the > default call-graph parameter is 'graph,0.5,caller,function,percent'. > > Before this patch,

[PATCH v2] perf report: Fix debug messages with --call-graph option

2017-09-23 Thread Mengting Zhang
With --call-graph option, perf report can display call chains using type, min percent threshold, optional print limit and order. And the default call-graph parameter is 'graph,0.5,caller,function,percent'. Before this patch, 'perf report --call-graph' shows incorrect debug messages as below: [root