Eunomia  0.1.0
A lightweight eBPF-based CloudNative Monitor tool for Container Security and Observability
btf_helpers.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause) */
2 
3 #ifndef __BTF_HELPERS_H
4 #define __BTF_HELPERS_H
5 
6 #include <bpf/libbpf.h>
7 
8 int ensure_core_btf(struct bpf_object_open_opts *opts);
9 void cleanup_core_btf(struct bpf_object_open_opts *opts);
10 
11 #endif /* __BTF_HELPERS_H */
cleanup_core_btf
void cleanup_core_btf(struct bpf_object_open_opts *opts)
Definition: btf_helpers.c:254
ensure_core_btf
int ensure_core_btf(struct bpf_object_open_opts *opts)
Definition: btf_helpers.c:175