libbpf: move logging helpers into libbpf_internal.h
libbpf_util.h header was recently exposed as public as a dependency of xsk.h. In addition to memory barriers, it contained logging helpers, which are not supposed to be exposed. This patch moves those into libbpf_internal.h, which is kept as an internal header. Cc: Stanislav Fomichev <sdf@google.com> Cc: Daniel Borkmann <daniel@iogearbox.net> Fixes: 7080da89 ("libbpf: add libbpf_util.h to header install.") Signed-off-by:Andrii Nakryiko <andriin@fb.com> Signed-off-by:
Alexei Starovoitov <ast@kernel.org>
Showing
- tools/lib/bpf/btf.c 1 addition, 1 deletiontools/lib/bpf/btf.c
- tools/lib/bpf/libbpf.c 0 additions, 1 deletiontools/lib/bpf/libbpf.c
- tools/lib/bpf/libbpf_internal.h 13 additions, 0 deletionstools/lib/bpf/libbpf_internal.h
- tools/lib/bpf/libbpf_util.h 0 additions, 13 deletionstools/lib/bpf/libbpf_util.h
- tools/lib/bpf/xsk.c 1 addition, 1 deletiontools/lib/bpf/xsk.c
Loading
Please register or sign in to comment