summaryrefslogtreecommitdiff
path: root/tools/bpf/bpftool/main.c
diff options
context:
space:
mode:
authorYonghong Song <yhs@fb.com>2020-05-09 20:59:19 +0300
committerAlexei Starovoitov <ast@kernel.org>2020-05-10 03:05:27 +0300
commit5fbc220862fc7a53a0455ccd2d96c82141e222d4 (patch)
treea163830ff0f8a707eb45743aa95b3947857e0d1f /tools/bpf/bpftool/main.c
parentc09add2fbc5aece00a5b54a48ce39fd4e3284d87 (diff)
downloadlinux-5fbc220862fc7a53a0455ccd2d96c82141e222d4.tar.xz
tools/libpf: Add offsetof/container_of macro in bpf_helpers.h
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@fb.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org> Acked-by: Andrii Nakryiko <andriin@fb.com> Link: https://lore.kernel.org/bpf/20200509175919.2477104-1-yhs@fb.com
Diffstat (limited to 'tools/bpf/bpftool/main.c')
0 files changed, 0 insertions, 0 deletions