]> git.baikalelectronics.ru Git - kernel.git/commit
samples/bpf: add map performance test
authorAlexei Starovoitov <ast@fb.com>
Tue, 8 Mar 2016 23:07:54 +0000 (15:07 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 9 Mar 2016 04:22:03 +0000 (23:22 -0500)
commit0ebcdcd64e3eca3b2045bd7eaa512f3db979a00f
treee0bb3b8bf19cda7bfcbe3426ad45d5e075494da7
parenteee0e521f91e5adb482d97e5c8fd0590e8d69f0a
samples/bpf: add map performance test

performance tests for hash map and per-cpu hash map
with and without pre-allocation

Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
samples/bpf/Makefile
samples/bpf/map_perf_test_kern.c [new file with mode: 0644]
samples/bpf/map_perf_test_user.c [new file with mode: 0644]