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)
commit26e9093110fb9ceb10093e4914b129b58d49a425
treee0bb3b8bf19cda7bfcbe3426ad45d5e075494da7
parent7dcc42b685b4acf7b2f3f08d157f1574e1bec7f7
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]