diff options
| author | Yonghong Song <yhs@fb.com> | 2020-07-23 11:41:21 -0700 |
|---|---|---|
| committer | Alexei Starovoitov <ast@kernel.org> | 2020-07-25 20:16:34 -0700 |
| commit | 60dd49ea65390986a665c462da704927e861e67e (patch) | |
| tree | 5c4d32ab95660adde58cfe0aea34e857f1336cf3 /tools/testing/selftests/bpf/prog_tests/perf_event_stackmap.c | |
| parent | selftests/bpf: Add test for bpf hash map iterators (diff) | |
| download | linux-60dd49ea65390986a665c462da704927e861e67e.tar.gz linux-60dd49ea65390986a665c462da704927e861e67e.zip | |
selftests/bpf: Add test for bpf array map iterators
Two subtests are added.
$ ./test_progs -n 4
...
#4/20 bpf_array_map:OK
#4/21 bpf_percpu_array_map:OK
...
The bpf_array_map subtest also tested bpf program
changing array element values and send key/value
to user space through bpf_seq_write() interface.
Signed-off-by: Yonghong Song <yhs@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20200723184121.591367-1-yhs@fb.com
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/perf_event_stackmap.c')
0 files changed, 0 insertions, 0 deletions
