xref: /aosp_15_r20/external/bcc/libbpf-tools/btf_helpers.h (revision 387f9dfdfa2baef462e92476d413c7bc2470293e)
1*387f9dfdSAndroid Build Coastguard Worker /* SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause) */
2*387f9dfdSAndroid Build Coastguard Worker 
3*387f9dfdSAndroid Build Coastguard Worker #ifndef __BTF_HELPERS_H
4*387f9dfdSAndroid Build Coastguard Worker #define __BTF_HELPERS_H
5*387f9dfdSAndroid Build Coastguard Worker 
6*387f9dfdSAndroid Build Coastguard Worker #include <bpf/libbpf.h>
7*387f9dfdSAndroid Build Coastguard Worker 
8*387f9dfdSAndroid Build Coastguard Worker int ensure_core_btf(struct bpf_object_open_opts *opts);
9*387f9dfdSAndroid Build Coastguard Worker void cleanup_core_btf(struct bpf_object_open_opts *opts);
10*387f9dfdSAndroid Build Coastguard Worker 
11*387f9dfdSAndroid Build Coastguard Worker #endif /* __BTF_HELPERS_H */
12