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-test/src/tests
Adam Schreck 55d9576234 aya: add Map::from_map_data() for pinned map access
Enables creation of Map enum variants directly from MapData instances,
allowing user-space handles to pinned BPF maps without requiring the
original BPF object.

Supports hash map types:
- BPF_MAP_TYPE_HASH
- BPF_MAP_TYPE_LRU_HASH
- BPF_MAP_TYPE_PERCPU_HASH
- BPF_MAP_TYPE_LRU_PERCPU_HASH

Motivation:
- Simplifies accessing pinned maps in multi-threaded user space
- Avoids full BPF reloads and potential deadlocks
- Matches existing ergonomic APIs like LruHashMap::try_from
- Keeps user code safe and idiomatic:

Closes https://github.com/aya-rs/aya/issues/1305

Includes test coverage to validate the new API.
1 month ago
..
bpf_probe_read.rs integration-test: add missing `test_log` decorator 3 months ago
btf_relocations.rs integration-test: add missing `test_log` decorator 3 months ago
elf.rs integration-test: add missing `test_log` decorator 3 months ago
feature_probe.rs integration-test: add missing `test_log` decorator 3 months ago
info.rs integration-test: add missing `test_log` decorator 3 months ago
iter.rs integration-test: add missing `test_log` decorator 3 months ago
linear_data_structures.rs ebpf: add peak() method to Queue and Stack 1 month ago
load.rs integration-test: add missing `test_log` decorator 3 months ago
log.rs aya-log-ebpf: zero copy! 1 month ago
map_pin.rs aya: add Map::from_map_data() for pinned map access 1 month ago
raw_tracepoint.rs integration-test: add missing `test_log` decorator 3 months ago
rbpf.rs integration-test: add missing `test_log` decorator 3 months ago
relocations.rs integration-test: add missing `test_log` decorator 3 months ago
ring_buf.rs remove superfluous commas 2 months ago
smoke.rs integration-test: add missing `test_log` decorator 3 months ago
strncmp.rs integration-test: add missing `test_log` decorator 3 months ago
tcx.rs integration-test: add missing `test_log` decorator 3 months ago
uprobe_cookie.rs integration-test: add missing `test_log` decorator 3 months ago
xdp.rs integration-test: add missing `test_log` decorator 3 months ago