Re: [PATCH v2] perf: Add support for exclusive groups/events

2020-10-14 Thread Jiri Olsa
On Wed, Oct 14, 2020 at 12:22:12PM -0300, Arnaldo Carvalho de Melo wrote: > Em Wed, Oct 14, 2020 at 07:42:55AM -0700, Andi Kleen escreveu: > > Peter suggested that using the exclusive mode in perf could > > avoid some problems with bad scheduling of groups. Exclusive > > is implemented in the

Re: [PATCH v2] perf: Add support for exclusive groups/events

2020-10-14 Thread Arnaldo Carvalho de Melo
Em Wed, Oct 14, 2020 at 07:42:55AM -0700, Andi Kleen escreveu: > Peter suggested that using the exclusive mode in perf could > avoid some problems with bad scheduling of groups. Exclusive > is implemented in the kernel, but wasn't exposed by the perf tool, > so hard to use without custom low level

[PATCH v2] perf: Add support for exclusive groups/events

2020-10-14 Thread Andi Kleen
Peter suggested that using the exclusive mode in perf could avoid some problems with bad scheduling of groups. Exclusive is implemented in the kernel, but wasn't exposed by the perf tool, so hard to use without custom low level API users. Add support for marking groups or events with :e for