Hello Mathieu,
Does this patch set have impact on other modes as well? I’m thinking --switch-output – it works kind of similar to --snapshot, i.e. may write into perf.data on SIGUSR2 (or on other triggers).
What was the high-level reason for these changes? I can see that you adjust perf ring buffer to match sink hardware buffer. Does this mismatch cause some visible trace loss?
Thanks, Wojciech