aboutsummaryrefslogtreecommitdiffstats
path: root/lib/timerqueue.c
diff options
context:
space:
mode:
authorPu Lehui <[email protected]>2025-01-15 10:02:41 +0000
committerAndrii Nakryiko <[email protected]>2025-01-16 23:34:18 +0000
commit556a399406635566413f9c71b134d5d287b25b29 (patch)
tree93ad3111ab82ceca06974b35ed96c9c94a723598 /lib/timerqueue.c
parentlibbpf: Fix incorrect traversal end type ID when marking BTF_IS_EMBEDDED (diff)
downloadkernel-556a399406635566413f9c71b134d5d287b25b29.tar.gz
kernel-556a399406635566413f9c71b134d5d287b25b29.zip
selftests/bpf: Add distilled BTF test about marking BTF_IS_EMBEDDED
When redirecting the split BTF to the vmlinux base BTF, we need to mark the distilled base struct/union members of split BTF structs/unions in id_map with BTF_IS_EMBEDDED. This indicates that these types must match both name and size later. So if a needed composite type, which is the member of composite type in the split BTF, has a different size in the base BTF we wish to relocate with, btf__relocate() should error out. Signed-off-by: Pu Lehui <[email protected]> Signed-off-by: Andrii Nakryiko <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'lib/timerqueue.c')
0 files changed, 0 insertions, 0 deletions