diff options
| author | Hengqi Chen <[email protected]> | 2021-07-27 13:25:31 +0000 |
|---|---|---|
| committer | Andrii Nakryiko <[email protected]> | 2021-07-29 21:37:23 +0000 |
| commit | 5aad03685185b5133a28e1ee1d4e98d3fd3642a3 (patch) | |
| tree | 4e0c50e20b2394264c5b3031607c6bfd3bd9974d /net/unix/unix_bpf.c | |
| parent | bpf: Increase supported cgroup storage value size (diff) | |
| download | kernel-5aad03685185b5133a28e1ee1d4e98d3fd3642a3.tar.gz kernel-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 <[email protected]>
Signed-off-by: Hengqi Chen <[email protected]>
Signed-off-by: Andrii Nakryiko <[email protected]>
Acked-by: Yonghong Song <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'net/unix/unix_bpf.c')
0 files changed, 0 insertions, 0 deletions
