[lkml]   [2020]   [May]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH 03/19] perf ftrace: select function/function_graph tracer automatically

On Mon, May 11, 2020 at 12:07 AM Changbin Du <> wrote:
> 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.

Why? You also removed -t/--tracer option.

> - If '-g' or '-G' option is on, then function_graph tracer is used.

I'm ok with this.

> - The perf configuration item 'ftrace.tracer' is removed.


> - The default filter for -G is to trace all functions.

There's no reason to use -G option then. Also It might be confusing
if it sees an argument - whether it's a function or a workload.

I just don't know why you want to change this as we have a way to
change the default tracer already.



 \ /
  Last update: 2020-05-31 07:53    [W:0.195 / U:25.700 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site