[PATCH openEuler-5.10 062/113] perf bpf: Defer freeing string after possible strlen() on it