diff options
| author | Tao Chen <[email protected]> | 2024-04-28 16:10:32 +0000 |
|---|---|---|
| committer | Andrii Nakryiko <[email protected]> | 2024-04-29 23:10:03 +0000 |
| commit | 397658ddc88ce3c21d2aa3bed8e15fc69dfec946 (patch) | |
| tree | a3b94164746442be2099cba5133067d3698adbed /tools/testing/selftests/bpf/prog_tests/cgroup1_hierarchy.c | |
| parent | bpf: Fix verifier assumptions about socket->sk (diff) | |
| download | kernel-397658ddc88ce3c21d2aa3bed8e15fc69dfec946.tar.gz kernel-397658ddc88ce3c21d2aa3bed8e15fc69dfec946.zip | |
samples/bpf: Add valid info for VMLINUX_BTF
When I use the command 'make M=samples/bpf' to compile samples/bpf code
in ubuntu 22.04, the error info occured:
Cannot find a vmlinux for VMLINUX_BTF at any of " /home/ubuntu/code/linux/vmlinux",
build the kernel or set VMLINUX_BTF or VMLINUX_H variable
Others often encounter this kind of issue, new kernel has the vmlinux, so we can
set the path in error info which seems more intuitive, like:
Cannot find a vmlinux for VMLINUX_BTF at any of " /home/ubuntu/code/linux/vmlinux",
buiild the kernel or set VMLINUX_BTF like "VMLINUX_BTF=/sys/kernel/btf/vmlinux" or
VMLINUX_H variable
Signed-off-by: Tao Chen <[email protected]>
Signed-off-by: Andrii Nakryiko <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/cgroup1_hierarchy.c')
0 files changed, 0 insertions, 0 deletions
