You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
aya/test/integration-ebpf/src
Andrew Werner cf18dc20bf aya: Implement RingBuf
This implements the userspace binding for RingBuf.

Instead of streaming the samples as heap buffers, the process_ring
function takes a callback to which we pass the event's byte region,
roughly following [libbpf]'s API design. This avoids a copy and allows
marking the consumer pointer in a timely manner.

[libbpf]: https://github.com/libbpf/libbpf/blob/master/src/ringbuf.c

Additionally, integration tests are added to demonstrate the usage
of the new APIs and to ensure that they work end-to-end.

Co-authored-by: William Findlay <william@williamfindlay.com>
Co-authored-by: Tatsuyuki Ishi <ishitatsuyuki@gmail.com>
2 years ago
..
bpf_probe_read.rs Clippy over tests and integration-ebpf 2 years ago
lib.rs integration-test: build-dep on integration-ebpf 2 years ago
log.rs log: annotate logging functions inlining 2 years ago
map_test.rs aya-bpf-macros: Refactor for ease of testing 2 years ago
name_test.rs aya: Find programs using the symbol table 2 years ago
pass.rs aya-bpf-macros: Refactor for ease of testing 2 years ago
relocations.rs Clippy over tests and integration-ebpf 2 years ago
ring_buf.rs aya: Implement RingBuf 2 years ago
test.rs aya-bpf-macros: Refactor for ease of testing 2 years ago
two_progs.rs integration-test: Add test for 2 progs in same section 2 years ago