diff options
author | Jiayuan Chen <jiayuan.chen@linux.dev> | 2025-05-16 17:47:02 +0300 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2025-05-27 20:31:20 +0300 |
commit | 1ae7a84ed85317b12a3395470f0cfcc900b2a61a (patch) | |
tree | fa66b2c3432e424c9fed17c17eddc38ef458c829 /scripts/lib/kdoc/kdoc_parser.py | |
parent | 92de53d247dffdf29d2abecf7deb4760dde98d6c (diff) | |
download | linux-1ae7a84ed85317b12a3395470f0cfcc900b2a61a.tar.xz |
bpftool: Add support for custom BTF path in prog load/loadall
This patch exposes the btf_custom_path feature to bpftool, allowing users
to specify a custom BTF file when loading BPF programs using prog load or
prog loadall commands.
The argument 'btf_custom_path' in libbpf is used for those kernels that
don't have CONFIG_DEBUG_INFO_BTF enabled but still want to perform CO-RE
relocations.
Suggested-by: Quentin Monnet <qmo@kernel.org>
Reviewed-by: Quentin Monnet <qmo@kernel.org>
Signed-off-by: Jiayuan Chen <jiayuan.chen@linux.dev>
Link: https://lore.kernel.org/r/20250516144708.298652-1-jiayuan.chen@linux.dev
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_parser.py')
0 files changed, 0 insertions, 0 deletions