2
0
mirror of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git synced 2025-09-04 20:19:47 +08:00
linux/tools/bpf/bpftool
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
..
bash-completion bpftool: Add support for custom BTF path in prog load/loadall 2025-05-27 10:31:20 -07:00
Documentation bpftool: Add support for custom BTF path in prog load/loadall 2025-05-27 10:31:20 -07:00
skeleton bpftool: Fix typo in MAX_NUM_METRICS macro name 2024-06-03 16:58:27 +02:00
.gitignore bpftool: Fix SPDX tag for Makefiles and .gitignore 2021-11-10 09:00:52 -08:00
btf_dumper.c bpftool: Using the right format specifiers 2025-03-17 13:50:56 -07:00
btf.c bpftool: Using the right format specifiers 2025-03-17 13:50:56 -07:00
cfg.c bpftool: Fix control flow graph segfault during edge creation 2025-01-10 14:16:13 -08:00
cfg.h bpftool: Support printing opcodes and source file references in CFG 2023-04-05 21:27:27 -07:00
cgroup.c bpftool: Fix cgroup command to only show cgroup bpf programs 2025-05-08 11:34:56 -07:00
common.c bpftool: Using the right format specifiers 2025-03-17 13:50:56 -07:00
feature.c bpftool: Probe for ISA v4 instruction set extension 2024-12-12 17:25:17 +01:00
gen.c bpftool: Using the right format specifiers 2025-02-10 16:08:13 -08:00
iter.c bpftool: Mount bpffs on provided dir instead of parent dir 2024-04-04 15:37:12 -07:00
jit_disasm.c bpftool: Using the right format specifiers 2025-03-17 13:50:56 -07:00
json_writer.c tools: bpftool: json: Fix backslash escape typo in jsonw_puts 2023-03-29 09:48:45 -07:00
json_writer.h tools: bpftool: json: Fix backslash escape typo in jsonw_puts 2023-03-29 09:48:45 -07:00
link.c bpftool: Display ref_ctr_offset for uprobe link info 2025-05-09 13:01:08 -07:00
main.c bpftool: Using the right format specifiers 2025-02-10 16:08:13 -08:00
main.h bpftool: Mount bpffs on provided dir instead of parent dir 2024-04-04 15:37:12 -07:00
Makefile bpf-next-6.15 2025-03-30 12:43:03 -07:00
map_perf_ring.c bpftool: Using the right format specifiers 2025-03-17 13:50:56 -07:00
map.c bpftool: Check map name length when map create 2025-02-13 20:11:38 -08:00
net.c bpftool: Using the right format specifiers 2025-03-17 13:50:56 -07:00
netlink_dumper.c bpftool: Using the right format specifiers 2025-03-17 13:50:56 -07:00
netlink_dumper.h bpftool: Extend net dump with tcx progs 2023-07-19 10:07:28 -07:00
perf.c bpftool: fix perf help message 2023-08-11 20:54:29 -07:00
pids.c bpftool: ensure task comm is always NUL-terminated 2024-11-05 17:12:29 -08:00
prog.c bpftool: Add support for custom BTF path in prog load/loadall 2025-05-27 10:31:20 -07:00
struct_ops.c bpftool: Mount bpffs on provided dir instead of parent dir 2024-04-04 15:37:12 -07:00
tracelog.c bpftool: Using the right format specifiers 2025-03-17 13:50:56 -07:00
xlated_dumper.c bpftool: Using the right format specifiers 2025-03-17 13:50:56 -07:00
xlated_dumper.h bpftool: Dump the kernel symbol's module name 2023-07-11 20:07:50 -07:00