diff options
author | Alexei Starovoitov <ast@kernel.org> | 2019-05-21 20:14:21 -0700 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2019-05-23 16:20:57 +0200 |
commit | 7c9441066ab53168093c79477aabd575f7c14129 (patch) | |
tree | f9b0f0dece13fb49d504ce72851404861c6b3849 /tools/testing/selftests/bpf/progs/sockmap_parse_prog.c | |
parent | 7c0c6095d48dcd0e67c917aa73cdbb2715aafc36 (diff) |
selftests/bpf: add pyperf scale test
Add a snippet of pyperf bpf program used to collect python stack traces
as a scale test for the verifier.
At 189 loop iterations llvm 9.0 starts ignoring '#pragma unroll'
and generates partially unrolled loop instead.
Hence use 50, 100, and 180 loop iterations to stress test.
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Andrii Nakryiko <andriin@fb.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/sockmap_parse_prog.c')
0 files changed, 0 insertions, 0 deletions