commit | e14ef4bf011192b61b48c4f3a35b3041140073ff | [log] [tgz] |
---|---|---|
author | Andrii Nakryiko <andrii@kernel.org> | Thu Mar 18 12:40:25 2021 -0700 |
committer | Alexei Starovoitov <ast@kernel.org> | Thu Mar 18 16:14:22 2021 -0700 |
tree | 8e26124925f2716effc573223f31042ab528876f | |
parent | fdc13979f91e664717f47eb8c49094e4b7f202e3 [diff] |
libbpf: Expose btf_type_by_id() internally btf_type_by_id() is internal-only convenience API returning non-const pointer to struct btf_type. Expose it outside of btf.c for re-use. Signed-off-by: Andrii Nakryiko <andrii@kernel.org> Signed-off-by: Alexei Starovoitov <ast@kernel.org> Link: https://lore.kernel.org/bpf/20210318194036.3521577-2-andrii@kernel.org