[PATCH 5.15 205/277] perf session: Remap buf if there is no space for event