Skip to content

Commit 44d42bd

Browse files
anakryikoAlexei Starovoitov
authored andcommitted
libbpf: make libbpf_errno.c into more generic libbpf_utils.c
Libbpf is missing one convenient place to put common "utils"-like code that is generic and usable from multiple places. Use libbpf_errno.c as the base for more generic libbpf_utils.c. Signed-off-by: Andrii Nakryiko <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Alexei Starovoitov <[email protected]> Acked-by: Eduard Zingerman <[email protected]>
1 parent a1aca22 commit 44d42bd

2 files changed

Lines changed: 1 addition & 1 deletion

File tree

tools/lib/bpf/Build

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
libbpf-y := libbpf.o bpf.o nlattr.o btf.o libbpf_errno.o str_error.o \
1+
libbpf-y := libbpf.o bpf.o nlattr.o btf.o libbpf_utils.o str_error.o \
22
netlink.o bpf_prog_linfo.o libbpf_probes.o hashmap.o \
33
btf_dump.o ringbuf.o strset.o linker.o gen_loader.o relo_core.o \
44
usdt.o zip.o elf.o features.o btf_iter.o btf_relocate.o

0 commit comments

Comments
 (0)