-
Notifications
You must be signed in to change notification settings - Fork 832
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
Linux 5.18 added a two new BTF kinds DECL_TAG and TYPE_TAG. TYPE_TAG seems fine, the encoding for DECL_TAG looks like a headache.
Most relevant Linux commit: torvalds/linux@7472d5a
pahole only generates these kinds from v1.23 onwards:
- DECL_TAG https://git.kernel.org/pub/scm/devel/pahole/pahole.git/commit/?h=next&id=ec62499774c4bcac720706018385ced0c1f060ab
- TYPE_TAG https://git.kernel.org/pub/scm/devel/pahole/pahole.git/commit/?h=next&id=d99d551930cf4b4bc41eb5d68b7da69d718a6553
clang-14 is also required: https://reviews.llvm.org/D111199
- Parse / skip the new types
- Omit encoding new types in Spec.marshal if the kernel doesn't understand them
- Export types from
btf
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request