[PATCH openEuler-22.03-LTS-SP1 11/23] perf bpf: check perf_attr_map is compatible with the perf binary