diff options
author | Martin KaFai Lau <[email protected]> | 2020-01-15 15:00:31 -0800 |
---|---|---|
committer | Alexei Starovoitov <[email protected]> | 2020-01-15 15:23:27 -0800 |
commit | fb2426ad00b136c88d57457504d1e843159a367a (patch) | |
tree | 06f34558985bd683b3b552d20fb9d04c06ebf56f /drivers/usb/cdns3/cdns3-debug.h | |
parent | 188a486619e6c9d7b8531ba6c4215b31304d293f (diff) |
libbpf: Expose bpf_find_kernel_btf as a LIBBPF_API
This patch exposes bpf_find_kernel_btf() as a LIBBPF_API.
It will be used in 'bpftool map dump' in a following patch
to dump a map with btf_vmlinux_value_type_id set.
bpf_find_kernel_btf() is renamed to libbpf_find_kernel_btf()
and moved to btf.c. As <linux/kernel.h> is included,
some of the max/min type casting needs to be fixed.
Signed-off-by: Martin KaFai Lau <[email protected]>
Signed-off-by: Alexei Starovoitov <[email protected]>
Acked-by: Andrii Nakryiko <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions