Re: [PATCH bpf] libbpf: move logging helpers into libbpf_internal.h

2019-05-16 Thread Alexei Starovoitov
On Wed, May 15, 2019 at 8:39 PM Andrii Nakryiko wrote: > > 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

[PATCH bpf] libbpf: move logging helpers into libbpf_internal.h

2019-05-15 Thread Andrii Nakryiko
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 Cc: Daniel B