summaryrefslogtreecommitdiff
path: root/include/linux/timerqueue.h
diff options
context:
space:
mode:
authorIhor Solodrai <ihor.solodrai@linux.dev>2026-09-29 16:46:07 -0700
committerAlexei Starovoitov <ast@kernel.org>2026-09-30 09:04:25 +0000
commit096ee6e38267ec620d337060d080c47fc8dfd019 (patch)
tree62ae497ee7629701c1294e2b63de32eb1cb67b7c /include/linux/timerqueue.h
parent1c36a1a41a47c6ebd8d64bd76a67e74d7a39ee19 (diff)
downloadlinux-next-096ee6e38267ec620d337060d080c47fc8dfd019.tar.gz
linux-next-096ee6e38267ec620d337060d080c47fc8dfd019.zip
selftests/bpf: Test btf_dump rendering of decl_tags
Cover the decl tag rendering the libbpf patch added. One subtest builds a BTF with every shape that renders, plus two that must not: - a named record with both forms of tag - a typedef'd anonymous record, whose attribute precedes the declarator - a union - a record that also carries the derived packed attribute - an anonymous record inlined at a member - two records whose tags are added in reverse target order, which is what pins the sort: without it the records lose their attributes - attributes on a var and on a func, which btf_dump never declares The incremental subtest's second round adds an attribute to the new struct, pinning the later-walk indexing of appended types. A separate subtest covers members. A member attribute and a record one share a key in the index, so it checks they do not leak into each other's position, over a function pointer, an array and a bit-field - declarators the attribute has to follow rather than precede. Another covers typedefs, including a typedef of an anonymous record carrying three groups at once, binding to the member, the record and the typedef. Signed-off-by: Ihor Solodrai <ihor.solodrai@linux.dev> Signed-off-by: Alexei Starovoitov <ast@kernel.org> Acked-by: Eduard Zingerman <eddyz87@gmail.com> Link: https://patch.msgid.link/20260929234608.48503-5-ihor.solodrai@linux.dev
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions