diff options
author | Yonghong Song <yhs@fb.com> | 2020-09-03 02:53:41 +0300 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2020-09-04 03:36:41 +0300 |
commit | 4daab7132731ac5ec9384c8a070cdb9607dc38c8 (patch) | |
tree | 1b6e2a0484ce01d82c58a29824b8c251a334fc8d /tools/perf/scripts/python/export-to-postgresql.py | |
parent | dc0988bbe1bd41e2fa555e4a6f890b819a34b49b (diff) | |
download | linux-4daab7132731ac5ec9384c8a070cdb9607dc38c8.tar.xz |
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 <yhs@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20200902235341.2001534-1-yhs@fb.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions