summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorYuntao Wang <ytcoode@gmail.com>2022-03-11 00:15:18 +0800
committerDaniel Borkmann <daniel@iogearbox.net>2022-03-10 23:04:47 +0100
commit1b773d0003aa90e60953d263c2ee31e6fb4a8a69 (patch)
tree3a488b8ea06c0fe3365b2ce12cc84c04071762ac /tools
parent58617014405ad5c9f94f464444f4972dabb71ca7 (diff)
downloadlinux-1b773d0003aa90e60953d263c2ee31e6fb4a8a69.tar.bz2
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 <ytcoode@gmail.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Acked-by: Yonghong Song <yhs@fb.com> Acked-by: Joanne Koong <joannelkoong@gmail.com> Link: https://lore.kernel.org/bpf/20220310161518.534544-1-ytcoode@gmail.com
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions