Re: [RFC PATCH 6/7] perf, x86: large PEBS interrupt threshold

From: Andi Kleen
Date: Wed May 28 2014 - 13:45:49 EST


> So the window is fairly large for another to slip in, esp if you have a
> fast (say inst-ret) and a slow (say br-misp) event.

yes, but unless you have really small periods it's still very unlikely
that they synchronize, so it will only happen very rarely. And the
rare cases won't affect the statistics very much.

Even with multi-pebs the min period is 1000, which is several
orders of magnitude larger than the typical window.

-Andi
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/