Re: [PATCH v7 01/18] perf ftrace: select function/function_graph tracer automatically

2020-08-07 Thread Changbin Du
On Wed, Aug 05, 2020 at 10:05:03PM -0300, Arnaldo Carvalho de Melo wrote: > > > On August 5, 2020 9:14:48 PM GMT-03:00, Changbin Du > wrote: > >On Tue, Aug 04, 2020 at 09:51:15AM -0300, Arnaldo Carvalho de Melo > >wrote: > >> Em Sat, Jul 18, 2020 at 02:48:09PM +0800, Changbin Du escreveu: > >>

Re: [PATCH v7 01/18] perf ftrace: select function/function_graph tracer automatically

2020-08-05 Thread Arnaldo Carvalho de Melo
On August 5, 2020 9:14:48 PM GMT-03:00, Changbin Du wrote: >On Tue, Aug 04, 2020 at 09:51:15AM -0300, Arnaldo Carvalho de Melo >wrote: >> Em Sat, Jul 18, 2020 at 02:48:09PM +0800, Changbin Du escreveu: >> > The '-g/-G' options have already implied function_graph tracer >should be >> > used ins

Re: [PATCH v7 01/18] perf ftrace: select function/function_graph tracer automatically

2020-08-05 Thread Changbin Du
On Tue, Aug 04, 2020 at 09:51:15AM -0300, Arnaldo Carvalho de Melo wrote: > Em Sat, Jul 18, 2020 at 02:48:09PM +0800, Changbin Du escreveu: > > The '-g/-G' options have already implied function_graph tracer should be > > used instead of function tracer. So the extra option '--tracer' can be > > kil

Re: [PATCH v7 01/18] perf ftrace: select function/function_graph tracer automatically

2020-08-04 Thread Arnaldo Carvalho de Melo
Em Sat, Jul 18, 2020 at 02:48:09PM +0800, Changbin Du escreveu: > The '-g/-G' options have already implied function_graph tracer should be > used instead of function tracer. So the extra option '--tracer' can be > killed. > > This patch changes the behavior as below: > - By default, function tra

[PATCH v7 01/18] perf ftrace: select function/function_graph tracer automatically

2020-07-17 Thread Changbin Du
The '-g/-G' options have already implied function_graph tracer should be used instead of function tracer. So the extra option '--tracer' can be killed. This patch changes the behavior as below: - By default, function tracer is used. - If '-g' or '-G' option is on, then function_graph tracer is