Re: [PATCH V6 3/3] perf/x86/intel: Support PEBS counters snapshotting
From: Peter Zijlstra
Date: Wed Dec 18 2024 - 11:33:04 EST
On Wed, Dec 18, 2024 at 07:16:43AM -0800, kan.liang@xxxxxxxxxxxxxxx wrote:
> To prevent the case that a PEBS record value might be in the past
> relative to what is already in the event, perf always stops the PMU and
> drains the PEBS buffer before updating the corresponding event->count.
Like I wrote here:
https://lkml.kernel.org/r/20241218082404.GI11133@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
I don't think this is sufficient.