diff options
author | 2021-09-14 15:30:09 -0700 | |
---|---|---|
committer | 2021-09-14 18:45:52 -0700 | |
commit | 41ced4cd88020c9d4b71ff7c50d020f081efa4a0 (patch) | |
tree | 168463da95bacaf8873bc7742745c7d14845c3c0 /include/linux/socket.h | |
parent | selftests/bpf: Fix .gitignore to not ignore test_progs.c (diff) | |
download | linux-rng-41ced4cd88020c9d4b71ff7c50d020f081efa4a0.tar.xz linux-rng-41ced4cd88020c9d4b71ff7c50d020f081efa4a0.zip |
btf: Change BTF_KIND_* macros to enums
Change BTF_KIND_* macros to enums so they are encoded in dwarf and
appear in vmlinux.h. This will make it easier for bpf programs
to use these constants without macro definitions.
Signed-off-by: Yonghong Song <yhs@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20210914223009.245307-1-yhs@fb.com
Diffstat (limited to 'include/linux/socket.h')
0 files changed, 0 insertions, 0 deletions