linux-kernelorg-stable/tools/bpf/bpftool/Documentation
Jiayuan Chen 1ae7a84ed8 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>
2025-05-27 10:31:20 -07:00
..
Makefile tools: Remove redundant quiet setup 2025-02-18 16:27:43 -03:00
bpftool-btf.rst bpftool: btf: Support dumping a specific types from file 2024-12-13 14:35:42 -08:00
bpftool-cgroup.rst bpftool: Update documentation where progs/maps can be passed by name 2024-04-16 17:58:25 +02:00
bpftool-feature.rst bpftool: Remove useless emphasis on command description in man pages 2024-04-02 15:50:23 +02:00
bpftool-gen.rst bpftool: Fix typos 2024-09-09 15:57:52 -07:00
bpftool-iter.rst bpftool: Clean-up typos, punctuation, list formatting in docs 2024-04-02 15:50:23 +02:00
bpftool-link.rst bpftool: Remove useless emphasis on command description in man pages 2024-04-02 15:50:23 +02:00
bpftool-map.rst bpftool: Remove useless emphasis on command description in man pages 2024-04-02 15:50:23 +02:00
bpftool-net.rst bpftool: Add missing blank lines in bpftool-net doc example 2024-09-02 18:25:16 +02:00
bpftool-perf.rst bpftool: Remove useless emphasis on command description in man pages 2024-04-02 15:50:23 +02:00
bpftool-prog.rst bpftool: Add support for custom BTF path in prog load/loadall 2025-05-27 10:31:20 -07:00
bpftool-struct_ops.rst bpftool: Remove useless emphasis on command description in man pages 2024-04-02 15:50:23 +02:00
bpftool.rst bpftool: Use simpler indentation in source rST for documentation 2024-04-02 15:50:23 +02:00
common_options.rst bpftool: Use simpler indentation in source rST for documentation 2024-04-02 15:50:23 +02:00
substitutions.rst bpftool: remove support of --legacy option for bpftool 2022-11-20 16:17:46 -08:00