#ebpf #programs #load #poll #outputs #module #document

bpf-loader-lib

A library to load json-described ebpf programs, and automatically poll outputs from the program

10 releases

0.2.1 Aug 19, 2023
0.2.0 Jul 18, 2023
0.1.7 Jul 9, 2023
0.1.6 May 21, 2023
0.1.0 Apr 26, 2023

#683 in Unix APIs


Used in 2 crates (via ecli-lib)

MIT license

420KB
5K SLoC

Contains (ELF exe/lib, 32KB) multiple.bpf.o, (ELF exe/lib, 31KB) multiple.bpf.o, (ELF exe/lib, 1KB) assets/int128_test/prog.bpf.o, (ELF exe/lib, 4KB) assets/profile_test/profile.bpf.o, (ELF exe/lib, 2KB) assets/simple_prog/simple_prog.bpf.o, (ELF exe/lib, 2KB) assets/simple_prog_2/simple_prog_2.bpf.o and 4 more.

bpf-loader-lib

This is the core implemention of bpf-loader-rs.

You can refer to the documents in every modules.


lib.rs:

SPDX-License-Identifier: MIT

Copyright (c) 2023, eunomia-bpf All rights reserved.

Dependencies

~27–39MB
~669K SLoC