[PATCH openEuler-5.10-LTS 129/166] perf session: Remap buf if there is no space for event