[PATCH openEuler-5.10-LTS 04/81] perf tools: Fix segfault accessing sample_id xyarray