aboutsummaryrefslogtreecommitdiffstats
path: root/tools/bpf/bpftool/prog.c
diff options
context:
space:
mode:
authorYuntao Wang <[email protected]>2022-03-10 16:15:18 +0000
committerDaniel Borkmann <[email protected]>2022-03-10 22:04:47 +0000
commit1b773d0003aa90e60953d263c2ee31e6fb4a8a69 (patch)
tree3a488b8ea06c0fe3365b2ce12cc84c04071762ac /tools/bpf/bpftool/prog.c
parentbpf: Fix comment for helper bpf_current_task_under_cgroup() (diff)
downloadkernel-1b773d0003aa90e60953d263c2ee31e6fb4a8a69.tar.gz
kernel-1b773d0003aa90e60953d263c2ee31e6fb4a8a69.zip
bpf: Use offsetofend() to simplify macro definition
Use offsetofend() instead of offsetof() + sizeof() to simplify MIN_BPF_LINEINFO_SIZE macro definition. Signed-off-by: Yuntao Wang <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]> Acked-by: Yonghong Song <[email protected]> Acked-by: Joanne Koong <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/bpf/bpftool/prog.c')
0 files changed, 0 insertions, 0 deletions