summaryrefslogtreecommitdiff
path: root/include/linux/timerqueue.h
diff options
context:
space:
mode:
authorIhor Solodrai <ihor.solodrai@linux.dev>2026-09-29 16:46:08 -0700
committerAlexei Starovoitov <ast@kernel.org>2026-09-30 09:04:26 +0000
commit2c964f6c5d8eb4319ec9ba3b79f99a8c77bdb564 (patch)
tree6f1896016bb995a8e73300ab127d6b3c311ad50f /include/linux/timerqueue.h
parent096ee6e38267ec620d337060d080c47fc8dfd019 (diff)
downloadlinux-next-2c964f6c5d8eb4319ec9ba3b79f99a8c77bdb564.tar.gz
linux-next-2c964f6c5d8eb4319ec9ba3b79f99a8c77bdb564.zip
selftests/bpf: Show the tag kflag in the raw BTF dump helper
A kflag on BTF_KIND_DECL_TAG or BTF_KIND_TYPE_TAG means the tag string is an __attribute__ list rather than a btf_decl_tag()/btf_type_tag() argument. fprintf_btf_type_raw() did not print it, so a tag added with btf__add_decl_tag() and an attribute added with btf__add_decl_attr() dumped identically apart from their type IDs. Print " kflag=1" for those two kinds, only when the flag is set, so no existing expected string changes. Add a btf_write subtest for btf__add_decl_attr() and btf__add_type_attr(). 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-6-ihor.solodrai@linux.dev
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions