[PATCH openEuler-5.10 26/32] perf intel-pt: Fix next 'err' value, walking trace