Helper function bpf_btf_find_by_name_kind
Definition
Copyright (c) 2015 The Libbpf Authors. All rights reserved.
Find BTF type with given name and kind in vmlinux BTF or in module's BTFs.
Returns
Returns btf_id and btf_obj_fd in lower and upper 32 bits.
static long (* const bpf_btf_find_by_name_kind)(char *name, int name_sz, __u32 kind, int flags) = (void *) 167;
Usage
Docs could be improved
This part of the docs is incomplete, contributions are very welcome
Program types
This helper call can be used in the following program types:
Example
Docs could be improved
This part of the docs is incomplete, contributions are very welcome