Re: [PATCH] perf/x86/intel: make anythread filter support conditional

2020-10-22 Thread Stephane Eranian
On Thu, Oct 22, 2020 at 1:00 AM Peter Zijlstra wrote: > > On Wed, Oct 21, 2020 at 02:16:12PM -0700, Stephane Eranian wrote: > > Starting with Arch Perfmon v5, the anythread filter on generic counters may > > be > > deprecated. The current kernel was exporting the any filter without > >

Re: [PATCH] perf/x86/intel: make anythread filter support conditional

2020-10-22 Thread Peter Zijlstra
On Wed, Oct 21, 2020 at 02:16:12PM -0700, Stephane Eranian wrote: > Starting with Arch Perfmon v5, the anythread filter on generic counters may be > deprecated. The current kernel was exporting the any filter without checking. > On Icelake, it means you could do cpu/event=0x3c,any/ even though the

Re: [PATCH] perf/x86/intel: make anythread filter support conditional

2020-10-21 Thread Andi Kleen
On Wed, Oct 21, 2020 at 02:16:12PM -0700, Stephane Eranian wrote: > Starting with Arch Perfmon v5, the anythread filter on generic counters may be > deprecated. The current kernel was exporting the any filter without checking. > On Icelake, it means you could do cpu/event=0x3c,any/ even though the

[PATCH] perf/x86/intel: make anythread filter support conditional

2020-10-21 Thread Stephane Eranian
Starting with Arch Perfmon v5, the anythread filter on generic counters may be deprecated. The current kernel was exporting the any filter without checking. On Icelake, it means you could do cpu/event=0x3c,any/ even though the filter does not exist. This patch corrects the problem by relying on