Open
Description
Describe the bug
A clear and concise description of what the bug is.
在编译 24-hide 代码时,编译错误
598 warnings generated.
libbpf: failed to find BTF info for global/extern symbol 'pid_to_hide'
Error: failed to link '.output/pidhide.tmp.bpf.o': No such file or directory (2)
make: *** [Makefile:112: .output/pidhide.bpf.o] Error 254
make: *** Deleting file '.output/pidhide.bpf.o'
To Reproduce
Steps to reproduce the behavior:
cd src/24-hide
make
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
- Ubuntu 20.04
- Linux version 5.15.0-124-generic
- clang version 10.0.0-4ubuntu1
Additional context
Add any other context about the problem here.
https://lore.kernel.org/bpf/CAEf4BzZnZ=jqTxShQ7p2tp=0sT5iMEJVB+zqhf55XtwQHOODtA@mail.gmail.com/T/
有一个patch与此类似