Re: [RFC perf] perf: try schedule more hw events, even when previous groups failed

2018-02-10 Thread Peter Zijlstra
On Thu, Feb 08, 2018 at 03:59:48PM -0800, Song Liu wrote: > Please share your comments and suggestions on this. Like I said last time: No, we're not going to do this. Find that thread if you want more detail.

[RFC perf] perf: try schedule more hw events, even when previous groups failed

2018-02-08 Thread Song Liu
In current perf event scheduling, once a hw group failed to schedule, we will not try to schedule other hw groups in the list. This behavior is reasonable in most cases, but it is weird with ref-cycles on Intel CPUs. For recent Intel CPUs, ref-cycles can only be served on fixed PMC counter2. If th