diff options
| author | Quentin Monnet <[email protected]> | 2021-07-29 16:20:27 +0000 |
|---|---|---|
| committer | Andrii Nakryiko <[email protected]> | 2021-07-30 00:23:59 +0000 |
| commit | 61fc51b1d3e5915e356f2c0b67cd3bb13b640413 (patch) | |
| tree | cb7fd1759686f6cdb295a30b0cda13f402f2fe3b /net/unix/unix_bpf.c | |
| parent | tools: Replace btf__get_from_id() with btf__load_from_kernel_by_id() (diff) | |
| download | kernel-61fc51b1d3e5915e356f2c0b67cd3bb13b640413.tar.gz kernel-61fc51b1d3e5915e356f2c0b67cd3bb13b640413.zip | |
libbpf: Add split BTF support for btf__load_from_kernel_by_id()
Add a new API function btf__load_from_kernel_by_id_split(), which takes
a pointer to a base BTF object in order to support split BTF objects
when retrieving BTF information from the kernel.
Reference: https://github.com/libbpf/libbpf/issues/314
Signed-off-by: Quentin Monnet <[email protected]>
Signed-off-by: Andrii Nakryiko <[email protected]>
Acked-by: John Fastabend <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'net/unix/unix_bpf.c')
0 files changed, 0 insertions, 0 deletions
