diff options
author | Yonghong Song <[email protected]> | 2020-09-02 16:53:41 -0700 |
---|---|---|
committer | Alexei Starovoitov <[email protected]> | 2020-09-03 17:36:41 -0700 |
commit | 4daab7132731ac5ec9384c8a070cdb9607dc38c8 (patch) | |
tree | 1b6e2a0484ce01d82c58a29824b8c251a334fc8d /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | dc0988bbe1bd41e2fa555e4a6f890b819a34b49b (diff) |
selftests/bpf: Add bpf_{update, delete}_map_elem in hashmap iter program
Added bpf_{updata,delete}_map_elem to the very map element the
iter program is visiting. Due to rcu protection, the visited map
elements, although stale, should still contain correct values.
$ ./test_progs -n 4/18
#4/18 bpf_hash_map:OK
#4 bpf_iter:OK
Summary: 1/1 PASSED, 0 SKIPPED, 0 FAILED
Signed-off-by: Yonghong Song <[email protected]>
Signed-off-by: Alexei Starovoitov <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions