[PATCH v2] perf, x86: Fix event scheduler for constraints withoverlapping counters

From: Robert Richter
Date: Tue Apr 19 2011 - 06:26:19 EST


This version 2 implements an algorithm which does not increase the
loop count for systems with no overlapping-counter constraints. With
overlapping-counter constraints the loop count is reduceded to the
minimum and also limited by a stack depth of 2 states.

See below.

-Robert