On Wed, May 6, 2020 at 10:40 PM Yonghong Song <yhs@xxxxxx> wrote: > > These two helpers will be used later in bpf_iter bpf program > bpf_iter_netlink.c. Put them in bpf_helpers.h since they could > be useful in other cases. > > Signed-off-by: Yonghong Song <yhs@xxxxxx> > --- Not sure #ifndef/#endif guards are needed, but won't hurt either. Acked-by: Andrii Nakryiko <andriin@xxxxxx> > tools/lib/bpf/bpf_helpers.h | 14 ++++++++++++++ > 1 file changed, 14 insertions(+) > [...]