diff options
author | Tao Chen <chen.dylane@linux.dev> | 2025-09-26 01:50:30 +0800 |
---|---|---|
committer | Andrii Nakryiko <andrii@kernel.org> | 2025-09-25 16:17:30 -0700 |
commit | d43029ff7d1b7183dc0cf11b6cc2c12a0b810ad8 (patch) | |
tree | 8043d16eb0eb3c1c194b09b2d40183b397bb75f8 /rust/kernel/lib.rs | |
parent | 363b17e273f0929ba7791231a0bbb5424204d93a (diff) |
selftests/bpf: Add stacktrace map lookup_and_delete_elem test case
Add tests for stacktrace map lookup and delete:
1. use bpf_map_lookup_and_delete_elem to lookup and delete the target
stack_id,
2. lookup the deleted stack_id again to double check.
Signed-off-by: Tao Chen <chen.dylane@linux.dev>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20250925175030.1615837-3-chen.dylane@linux.dev
Diffstat (limited to 'rust/kernel/lib.rs')
0 files changed, 0 insertions, 0 deletions