mirror of https://github.com/aya-rs/aya
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.
bf7fdff1ce
This makes a few changes to the way that Aya reads the ELF object files. 1. To find programs in a section, we use the symbols table. This allows for cases where multiple programs could appear in the same section. 2. When parsing our ELF file we build symbols_by_section_index as an optimization as we use it for legacy maps, BTF maps and now programs. As a result of theses changes the "NAME" used in `bpf.prog_mut("NAME")` is now ALWAYS the same as the function name in the eBPF code, making the user experience more consistent. Signed-off-by: Dave Tucker <dave@dtucker.co.uk> |
1 year ago | |
---|---|---|
.. | ||
bpf | 1 year ago | |
src | 1 year ago | |
Cargo.toml | 1 year ago | |
build.rs | 1 year ago |