diff options
| author | Hou Tao <[email protected]> | 2024-11-06 06:35:42 +0000 |
|---|---|---|
| committer | Andrii Nakryiko <[email protected]> | 2024-11-11 16:18:39 +0000 |
| commit | cb55657c7fc800b722f2ef0afaf4d9c3c8902e6d (patch) | |
| tree | cf7f2072ebf35aa8175ba275776068439022afee /tools/lib/bpf/str_error.c | |
| parent | selftests/bpf: Move ENOTSUPP from bpf_util.h (diff) | |
| download | kernel-cb55657c7fc800b722f2ef0afaf4d9c3c8902e6d.tar.gz kernel-cb55657c7fc800b722f2ef0afaf4d9c3c8902e6d.zip | |
selftests/bpf: Test the update operations for htab of maps
Add test cases to verify the following four update operations on htab of
maps don't trigger lockdep warning:
(1) add then delete
(2) add, overwrite, then delete
(3) add, then lookup_and_delete
(4) add two elements, then lookup_and_delete_batch
Test cases are added for pre-allocated and non-preallocated htab of maps
respectively.
Signed-off-by: Hou Tao <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alexei Starovoitov <[email protected]>
Signed-off-by: Andrii Nakryiko <[email protected]>
Diffstat (limited to 'tools/lib/bpf/str_error.c')
0 files changed, 0 insertions, 0 deletions
