Lines Matching full:and

8 object files and prepares and loads them into the Linux kernel. libbpf takes the
9 heavy lifting of loading, verifying, and attaching BPF programs to various
11 correctness and performance.
15 * Provides high-level and low-level APIs for user space programs to interact
18 over the interactions between user space and BPF programs.
21 global variables and work with BPF programs.
23 and tracing helpers, allowing developers to simplify BPF code writing.
25 BPF programs that can be compiled once and run across different kernel
29 understanding of the capabilities and advantages of libbpf and how it can help
32 BPF App Lifecycle and libbpf APIs
36 completely independent), BPF maps, and global variables. The global
46 object file and discovers BPF maps, BPF programs, and global variables. After
49 global variables, etc.) before all the entities are created and loaded.
52 maps, resolves various relocations, and verifies and loads BPF programs into
54 and loads the BPF program into the kernel, but no BPF program has yet been
62 packets, or updating BPF maps and global variables that can be read from user
66 libbpf detaches BPF programs and unloads them from the kernel. BPF maps are
67 destroyed, and all the resources used by the BPF app are freed.
84 * ``<name>__open()`` – creates and opens BPF application (``<name>`` stands for
86 * ``<name>__load()`` – instantiates, loads,and verifies BPF application parts
89 * ``<name>__destroy()`` – detaches all BPF programs and
95 skeleton is used. It's an additive convenience feature, with no syscalls, and no
104 BPF programs before the BPF load phase and fetch and update data from user
109 BPF maps and BPF programs as struct fields. This eliminates the need for
110 string-based lookups with ``bpf_object_find_map_by_name()`` and
112 code and user-space code getting out of sync.
115 skeleton and the BPF object file are always in sync.
126 For a complete description of what the helpers do, the arguments they take, and
133 BPF programs work in the kernel space and have access to kernel memory and data
135 portability across different kernel versions and configurations. `BCC
137 portability. However, it comes with runtime overhead and a large binary size
141 BPF CO-RE brings together BTF type information, libbpf, and the compiler to
143 and configurations.
162 recorded BTF type and relocation information and matching them to BTF
163 information (vmlinux) provided by the running kernel. libbpf then resolves and
164 matches all the types and fields, and updates necessary offsets and other
167 associated with BPF development and allows developers to write portable BPF
168 applications without modifications and runtime source code compilation on the
172 ``task_struct`` using BPF CO-RE and libbf. The basic helper to read a field in a
211 libbpf and Rust
217 Rust-idiomatic interfaces and provides libbpf-cargo plugin to handle BPF code
218 compilation and skeleton generation. Using Libbpf-rs will make building user
225 By default, libbpf logs informational and warning messages to stderr. The
233 * `Program types and ELF Sections <https://libbpf.readthedocs.io/en/latest/program_types.html>`_