aya
aya copied to clipboard
Aya is an eBPF library for the Rust programming language, built with a focus on developer experience and operability.
I try to run example in [aya/book](https://aya-rs.dev/book/programs/lsm/), but after I execute `renice 1 -p 380074`, there is no output on screen. It works well in kprobe program. Here is my...
This PR adds user and kernel space implementations of HashOfMaps and ArrayOfMaps. - - - This change is [](https://reviewable.io/reviews/aya-rs/aya/70)
At the moment generating BTF debug info by default is not enabled. Once LLVM fixes are in and [this](https://github.com/aya-rs/bpf-linker/pull/13) is merged in bpf-linker, we'll need to teach aya-bpf to support...
Here: https://github.com/aya-rs/aya/blob/main/bpf/aya-bpf/src/maps/lpm_trie.rs#L40 And in any other constructor for this map, we should add `BPF_F_NOPREALLOC` if not already provided. This is to avoid getting an `-EINVAL` on map creation. See: https://github.com/torvalds/linux/blob/9e6b19a66d9b6b94395478fe79c5a3ccba181ad3/kernel/bpf/lpm_trie.c#L551
Based on @willfindlay's branch, fixed the bugs I found and it appears to be working fine for my setup. The original branch took a callback as a part of the...
The SchedClassifier attach function does not currently allow the priority (aka preference) of a classifier program to be explicitly set. Instead, the underlying netlink_qdisc_attach function defaults the priority to zero...
Methods given in the sample can only handle one port of packets, how can I handle all ports? 
I have fixed the following issues! https://github.com/aya-rs/aya/issues/334
This change implements additional symbol resolving for stack traces, which improve the support for userspace stack traces. A challenge with the stack traces obtained via ebpf is that they just...
Adds support for USDT programs. Doing this required a lot of work despite the uprobe support already existing. Notable refactoring changes include: - Stricter parsing of /proc/$pid/maps - Make `Features`...