Re: [PATCH v2 10/15] perf ftrace: add support for trace option sleep-time

2020-07-08 Thread Changbin Du
On Tue, Jul 07, 2020 at 01:09:43PM -0300, Arnaldo Carvalho de Melo wrote: > Em Tue, Jul 07, 2020 at 11:35:14PM +0800, Changbin Du escreveu: > > On Fri, Jul 03, 2020 at 03:40:59PM +0900, Namhyung Kim wrote: > > > On Sat, Jun 27, 2020 at 10:38 PM Changbin Du > > > wrote: > > > > This adds an

Re: [PATCH v2 10/15] perf ftrace: add support for trace option sleep-time

2020-07-07 Thread Arnaldo Carvalho de Melo
Em Tue, Jul 07, 2020 at 11:35:14PM +0800, Changbin Du escreveu: > On Fri, Jul 03, 2020 at 03:40:59PM +0900, Namhyung Kim wrote: > > On Sat, Jun 27, 2020 at 10:38 PM Changbin Du wrote: > > > This adds an option '--graph-nosleep-time' which allow us only to measure > > > on-CPU time. This option is

Re: [PATCH v2 10/15] perf ftrace: add support for trace option sleep-time

2020-07-07 Thread Changbin Du
On Fri, Jul 03, 2020 at 03:40:59PM +0900, Namhyung Kim wrote: > On Sat, Jun 27, 2020 at 10:38 PM Changbin Du wrote: > > > > This adds an option '--graph-nosleep-time' which allow us only to measure > > on-CPU time. This option is function_graph tracer only. > > I'd suggest --graph-sleep-time

Re: [PATCH v2 10/15] perf ftrace: add support for trace option sleep-time

2020-07-03 Thread Namhyung Kim
On Sat, Jun 27, 2020 at 10:38 PM Changbin Du wrote: > > This adds an option '--graph-nosleep-time' which allow us only to measure > on-CPU time. This option is function_graph tracer only. I'd suggest --graph-sleep-time instead and set it by default. Then we can have --no-graph-sleep-time as

[PATCH v2 10/15] perf ftrace: add support for trace option sleep-time

2020-06-27 Thread Changbin Du
This adds an option '--graph-nosleep-time' which allow us only to measure on-CPU time. This option is function_graph tracer only. Signed-off-by: Changbin Du --- v2: option name '--nosleep-time' -> '--graph-nosleep-time'. --- tools/perf/Documentation/perf-ftrace.txt | 3 +++