File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ struct btf_type {
52
52
};
53
53
};
54
54
55
- #define BTF_INFO_KIND (info ) (((info) >> 24) & 0x0f )
55
+ #define BTF_INFO_KIND (info ) (((info) >> 24) & 0x1f )
56
56
#define BTF_INFO_VLEN (info ) ((info) & 0xffff)
57
57
#define BTF_INFO_KFLAG (info ) ((info) >> 31)
58
58
@@ -72,7 +72,8 @@ struct btf_type {
72
72
#define BTF_KIND_FUNC_PROTO 13 /* Function Proto */
73
73
#define BTF_KIND_VAR 14 /* Variable */
74
74
#define BTF_KIND_DATASEC 15 /* Section */
75
- #define BTF_KIND_MAX BTF_KIND_DATASEC
75
+ #define BTF_KIND_FLOAT 16 /* Floating point */
76
+ #define BTF_KIND_MAX BTF_KIND_FLOAT
76
77
#define NR_BTF_KINDS (BTF_KIND_MAX + 1)
77
78
78
79
/* For some specific BTF_KIND, "struct btf_type" is immediately
Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ struct btf_type {
52
52
};
53
53
};
54
54
55
- #define BTF_INFO_KIND (info ) (((info) >> 24) & 0x0f )
55
+ #define BTF_INFO_KIND (info ) (((info) >> 24) & 0x1f )
56
56
#define BTF_INFO_VLEN (info ) ((info) & 0xffff)
57
57
#define BTF_INFO_KFLAG (info ) ((info) >> 31)
58
58
@@ -72,7 +72,8 @@ struct btf_type {
72
72
#define BTF_KIND_FUNC_PROTO 13 /* Function Proto */
73
73
#define BTF_KIND_VAR 14 /* Variable */
74
74
#define BTF_KIND_DATASEC 15 /* Section */
75
- #define BTF_KIND_MAX BTF_KIND_DATASEC
75
+ #define BTF_KIND_FLOAT 16 /* Floating point */
76
+ #define BTF_KIND_MAX BTF_KIND_FLOAT
76
77
#define NR_BTF_KINDS (BTF_KIND_MAX + 1)
77
78
78
79
/* For some specific BTF_KIND, "struct btf_type" is immediately
You can’t perform that action at this time.
0 commit comments