summaryrefslogtreecommitdiff
path: root/tools/lib/bpf/libbpf.c
diff options
context:
space:
mode:
authorAndrii Nakryiko <andrii@kernel.org>2021-03-18 12:40:25 -0700
committerAlexei Starovoitov <ast@kernel.org>2021-03-18 16:14:22 -0700
commite14ef4bf011192b61b48c4f3a35b3041140073ff (patch)
tree8e26124925f2716effc573223f31042ab528876f /tools/lib/bpf/libbpf.c
parentfdc13979f91e664717f47eb8c49094e4b7f202e3 (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
Diffstat (limited to 'tools/lib/bpf/libbpf.c')
0 files changed, 0 insertions, 0 deletions