Re: [PATCH] perf/x86: Fix overlap counter scheduling bug
From: Peter Zijlstra
Date: Thu Nov 10 2016 - 11:41:35 EST
On Thu, Nov 10, 2016 at 09:00:13AM +0100, Ingo Molnar wrote:
> Would it be possible to also add debug code (or some other mechanism) to disallow
> such buggy EVENT_CONSTRAINT_OVERLAP() definitions?
Should certainly be possible if someone has the time for it I think. The
rules are fairly straight forward, the only tricky bit is detectoring
the actual overlap condition.