Explain the meaning of kind_flag in BTF type_tags and decl_tags. Update uapi btf.h kind_flag comment to reflect the changes.
Showing the changes to include/uapi (1 of 3 files). Show all
Unified · Split
| @@ -36,7 +36,8 @@ struct btf_type { · 35 unmodified lines | ||
| 36 | 36 | * bits 24-28: kind (e.g. int, ptr, array...etc) |
| 37 | 37 | * bits 29-30: unused |
| 38 | 38 | * bit 31: kind_flag, currently used by |
| 39 | − * struct, union, enum, fwd and enum64 | |
| 39 | + * struct, union, enum, fwd, enum64, | |
| 40 | + * decl_tag and type_tag | |
| 40 | 41 | */ |
| 41 | 42 | __u32 info; |
| 42 | 43 | /* "size" is used by INT, ENUM, STRUCT, UNION, DATASEC and ENUM64. |