commit | 41ced4cd88020c9d4b71ff7c50d020f081efa4a0 | [log] [tgz] |
---|---|---|
author | Yonghong Song <yhs@fb.com> | Tue Sep 14 15:30:09 2021 -0700 |
committer | Alexei Starovoitov <ast@kernel.org> | Tue Sep 14 18:45:52 2021 -0700 |
tree | 168463da95bacaf8873bc7742745c7d14845c3c0 | |
parent | 8987ede3ed276f669eb88d952184e1d2bf42ea6b [diff] |
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