On Thu, Jul 30, 2020 at 06:44:26PM +0200, [email protected] wrote: > Arguably we should have perf_mmap_open() check if 'event->hw.target == > current', because without that RDPMC is still pointless.
event->hw.target->mm == current->mm, I suppose, otherwise accounting goes wobbly real fast.

