diff options
| author | Pu Lehui <[email protected]> | 2021-10-21 12:39:13 +0000 |
|---|---|---|
| committer | Alexei Starovoitov <[email protected]> | 2021-10-21 22:09:23 +0000 |
| commit | 44ce0ac11e4e6dd1aee2e41e7d74f95f3b961cfb (patch) | |
| tree | 1e8ec97aaa8f85730fcdb21008af17704638987b /scripts/bpf_doc.py | |
| parent | net: bpf: Switch over to memdup_user() (diff) | |
| download | kernel-44ce0ac11e4e6dd1aee2e41e7d74f95f3b961cfb.tar.gz kernel-44ce0ac11e4e6dd1aee2e41e7d74f95f3b961cfb.zip | |
samples: bpf: Suppress readelf stderr when probing for BTF support
When compiling bpf samples, the following warning appears:
readelf: Error: Missing knowledge of 32-bit reloc types used in DWARF
sections of machine number 247
readelf: Warning: unable to apply unsupported reloc type 10 to section
.debug_info
readelf: Warning: unable to apply unsupported reloc type 1 to section
.debug_info
readelf: Warning: unable to apply unsupported reloc type 10 to section
.debug_info
Same problem was mentioned in commit 2f0921262ba9 ("selftests/bpf:
suppress readelf stderr when probing for BTF support"), let's use
readelf that supports btf.
Signed-off-by: Pu Lehui <[email protected]>
Signed-off-by: Alexei Starovoitov <[email protected]>
Acked-by: John Fastabend <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'scripts/bpf_doc.py')
0 files changed, 0 insertions, 0 deletions
