strace/xlat/bpf_map_flags.in
Eugene Syromyatnikov 5f43328a74 xlat: update BPF_F_* constants
Apparently, BPF_F_RDONLY and BPF_F_WRONLY are also used in map_flags.
Moreover, set of flags depends on the type of map, but let's leave that
for another day.

* xlat/bpf_map_flags.in (BPF_F_RDONLY, BPF_F_WRONLY): New constants.
(BPF_F_STACK_BUILD_ID): New constant, introduced by Linux commit
v4.17-rc1~148^2~156^2~3^2~1.
* xlat/bpf_map_flags.in: Update expected output.
2018-05-06 15:34:41 +00:00

7 lines
140 B
Plaintext

BPF_F_NO_PREALLOC 1
BPF_F_NO_COMMON_LRU 2
BPF_F_NUMA_NODE 4
BPF_F_RDONLY (1U << 3)
BPF_F_WRONLY (1U << 4)
BPF_F_STACK_BUILD_ID (1U << 5)