[PATCH 5.16 211/285] perf session: Remap buf if there is no space for event