commit | 7c9441066ab53168093c79477aabd575f7c14129 | [log] [tgz] |
---|---|---|
author | Alexei Starovoitov <ast@kernel.org> | Tue May 21 20:14:21 2019 -0700 |
committer | Daniel Borkmann <daniel@iogearbox.net> | Thu May 23 16:20:57 2019 +0200 |
tree | f9b0f0dece13fb49d504ce72851404861c6b3849 | |
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>