diff options
author | 2021-07-27 21:25:31 +0800 | |
---|---|---|
committer | 2021-07-29 14:37:23 -0700 | |
commit | 5aad03685185b5133a28e1ee1d4e98d3fd3642a3 (patch) | |
tree | 4e0c50e20b2394264c5b3031607c6bfd3bd9974d /net/sched/cls_flow.c | |
parent | bpf: Increase supported cgroup storage value size (diff) | |
download | wireguard-linux-5aad03685185b5133a28e1ee1d4e98d3fd3642a3.tar.xz wireguard-linux-5aad03685185b5133a28e1ee1d4e98d3fd3642a3.zip |
tools/resolve_btfids: Emit warnings and patch zero id for missing symbols
Kernel functions referenced by .BTF_ids may be changed from global to static
and get inlined or get renamed/removed, and thus disappears from BTF.
This causes kernel build failure when resolve_btfids do id patch for symbols
in .BTF_ids in vmlinux. Update resolve_btfids to emit warning messages and
patch zero id for missing symbols instead of aborting kernel build process.
Suggested-by: Andrii Nakryiko <andrii@kernel.org>
Signed-off-by: Hengqi Chen <hengqi.chen@gmail.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Acked-by: Yonghong Song <yhs@fb.com>
Link: https://lore.kernel.org/bpf/20210727132532.2473636-2-hengqi.chen@gmail.com
Diffstat (limited to 'net/sched/cls_flow.c')
0 files changed, 0 insertions, 0 deletions