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/bpf/aya-bpf/src
William Findlay e94e988336 aya-bpf/helpers: add documentation and implement all bpf_probe_read_* wrappers
This patch adds some documentation to aya-bpf/helpers and adds documentation
for the module itself and for all of the wrappers currently defined in the module.

It also implements the rest of the bpf_probe_read_* wrappers that were missing from this
file. In the future, it probably also makes sense to add some bpf_probe_read_* wrappers
that can read directly into a map pointer, avoiding the BPF stack altogether. I'm going to
call this out of scope for this PR, but plan to submit a subsequent one that addresses
this use case.

Signed-off-by: William Findlay <william@williamfindlay.com>
3 years ago
..
maps bpf: PerfEventByteArray: remove unused import 3 years ago
programs aya/aya-bpf: implement btf tracepoint programs 3 years ago
helpers.rs aya-bpf/helpers: add documentation and implement all bpf_probe_read_* wrappers 3 years ago
lib.rs bpf: add memset impl that doesn't trip the verifier 3 years ago