diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2024-11-13 13:40:58 +0100 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2024-11-13 15:00:09 +0000 |
| commit | c22c6600ea5172145e20d546d9856421eaee0527 (patch) | |
| tree | 594aa44ead8e823e0f82d4cbf814c429d35ba248 /sys/linux/bpf.txt.const | |
| parent | 354ef1b79576274b4f240cee74dc43cecdbbd0db (diff) | |
pkg/compiler: add consts to all files that mention them
We already do this in most cases except for template structs (nlattr notably).
Add consts that are used in template structs to all files that use them.
This helps to avoid flakiness, and allows to replace descriptions files
with other descriptions files without regenerating all const files.
This also fixes check for presence of descriptions for sys/linux/auto.txt.json.
Diffstat (limited to 'sys/linux/bpf.txt.const')
| -rw-r--r-- | sys/linux/bpf.txt.const | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/linux/bpf.txt.const b/sys/linux/bpf.txt.const index fe3cfdfbd..27b2280a8 100644 --- a/sys/linux/bpf.txt.const +++ b/sys/linux/bpf.txt.const @@ -44,6 +44,7 @@ BPF_CORE_FIELD_EXISTS = 2 BPF_CORE_FIELD_LSHIFT_U64 = 4 BPF_CORE_FIELD_RSHIFT_U64 = 5 BPF_CORE_FIELD_SIGNED = 3 +BPF_CORE_RELO_SIZE = ??? BPF_CORE_TYPE_EXISTS = 8 BPF_CORE_TYPE_ID_LOCAL = 6 BPF_CORE_TYPE_ID_TARGET = 7 @@ -52,6 +53,7 @@ BPF_CORE_TYPE_SIZE = 9 BPF_ENABLE_STATS = 32 BPF_EXIST = 2 BPF_FLOW_DISSECTOR = 17 +BPF_FUNC_INFO_SIZE = ??? BPF_F_AFTER = 16 BPF_F_ALLOW_MULTI = 2 BPF_F_ALLOW_OVERRIDE = 1 @@ -94,6 +96,7 @@ BPF_F_XDP_DEV_BOUND_ONLY = 64 BPF_F_XDP_HAS_FRAGS = 32 BPF_F_ZERO_SEED = 64 BPF_ITER_CREATE = 33 +BPF_LINE_INFO_SIZE = ??? BPF_LINK_CREATE = 28 BPF_LINK_DETACH = 34 BPF_LINK_GET_FD_BY_ID = 30 |
