Re: [PATCH v8 13/18] perf ftrace: add support for trace option tracing_thresh

2020-08-20 Thread Changbin Du
On Fri, Aug 14, 2020 at 09:33:10AM -0300, Arnaldo Carvalho de Melo wrote: > Em Sat, Aug 08, 2020 at 10:31:36AM +0800, Changbin Du escreveu: > > This adds an option '--graph-opts thresh' to setup trace duration > > threshold for funcgraph tracer. > > Applied, please consider making --duration an al

Re: [PATCH v8 13/18] perf ftrace: add support for trace option tracing_thresh

2020-08-14 Thread Arnaldo Carvalho de Melo
Em Sat, Aug 08, 2020 at 10:31:36AM +0800, Changbin Du escreveu: > This adds an option '--graph-opts thresh' to setup trace duration > threshold for funcgraph tracer. Applied, please consider making --duration an alias for this, as this is also available in 'perf trace': [root@quaco ~]# perf trace

[PATCH v8 13/18] perf ftrace: add support for trace option tracing_thresh

2020-08-07 Thread Changbin Du
This adds an option '--graph-opts thresh' to setup trace duration threshold for funcgraph tracer. $ sudo ./perf ftrace -G '*' --graph-opts thresh=100 3) ! 184.060 us |} /* schedule */ 3) ! 185.600 us | } /* exit_to_usermode_loop */ 2) ! 225.989 us |} /* schedule_idle */ 2) # 4140.0