mirror of https://github.com/aya-rs/aya
aya-bpf/helpers: expose raw bindings through helpers::gen
Until we add another set of bpf_probe_read_* wrappers for reading into a map pointer, users need access to the underlying bpf_probe_read helper, which is clobbered by this module. This patch enables direct access to the underlying helpers::gen module to support such use cases. In my view, it would also probably make sense to just not export helpers::gen::* and force the user to opt into helpers::gen, but this can be decided on later. Signed-off-by: William Findlay <william@williamfindlay.com>pull/92/head
parent
dd7e1de348
commit
b30fd424ef
Loading…
Reference in New Issue