> So, you're telling me this is a sanity check. That p->status can > only have one bit set. Somehow that's not how I recall it working.
It can have multiple bits set. We don't know for sure for which it is, but we should only deliver it for one anyways. > The point is that a single PEBS record is enough for multiple > events when the overflows occur simultaneously because they > all get the same machine state which is correct. A single entry > also saves space in the buffer. The CPU will generate multiple PEBS records in this case. So if we delivered it for all you would overcount by factor 4x [Again this is a very unlikely situation. Normally counters are not in lock step] -Andi -- a...@linux.intel.com -- Speaking for myself only -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/