On vacation until 2025 so my replies will be sparse here :)

On 12/11/24 3:24 AM, Milian Wolff wrote:
For symmetry reasons, we also need an `..._end` method. And what about
explicitly removing processes once they have finished (PERF_RECORD_EXIT)?

One area you can run into issues with this is that there is no synchronization between Perf streams from different CPUs. So you could end up processing an EXIT from PID N on CPU 1 before a SAMPLE from PID N on CPU 2.

-- Christian

Reply via email to