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)
commit5b8c4774d4158639c06493983c1c3b19d7ffa6b9
treee0bb3b8bf19cda7bfcbe3426ad45d5e075494da7
parentbf5ccb740894c7cb6bc4ad174c03f0c4aeb55759
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]