-
由 Andrii Nakryiko 提交于
mainline inclusion from mainline-5.13-rc1 commit 78b226d4 category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/I5EUVD CVE: NA Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=78b226d48106fc91628f941c66545f05273269df ------------------------------------------------- Skip BTF fixup step when input object file is missing BTF altogether. Fixes: 8fd27bf6 ("libbpf: Add BPF static linker BTF and BTF.ext support") Reported-by: NJiri Olsa <jolsa@redhat.com> Signed-off-by: NAndrii Nakryiko <andrii@kernel.org> Signed-off-by: NAlexei Starovoitov <ast@kernel.org> Tested-by: NJiri Olsa <jolsa@redhat.com> Link: https://lore.kernel.org/bpf/20210319205909.1748642-3-andrii@kernel.org (cherry picked from commit 78b226d4) Signed-off-by: NWang Yufen <wangyufen@huawei.com>
637d2188