Re: [PATCH V6 4/6] perf, x86: handle multiple records in PEBS buffer

From: Peter Zijlstra
Date: Wed Apr 15 2015 - 14:28:53 EST

On Thu, Apr 09, 2015 at 12:37:44PM -0400, Kan Liang wrote:

> The only way you can get a lot of collision is when you count the same
> thing multiple times. But it is not a useful configuration.

Not entirely true; I _think_ you can be unfortunate if you measure with
a userspace only PEBS event along with either a kernel or unrestricted
PEBS event. Imagine the event triggering and setting the overflow flag
right before entering the kernel. Then all kernel side events will end
up with multiple bits set.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at