aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorAlexei Starovoitov <[email protected]>2019-05-21 20:14:20 -0700
committerDaniel Borkmann <[email protected]>2019-05-23 16:20:57 +0200
commit7c0c6095d48dcd0e67c917aa73cdbb2715aafc36 (patch)
tree973bcd22387f0268739482009a3c04560bc95909 /tools/perf/scripts/python
parentb285fcb760da7aa87d6d31e6c6a4907d82d9299c (diff)
selftests/bpf: adjust verifier scale test
Adjust scale tests to check for new jmp sequence limit. BPF_JGT had to be changed to BPF_JEQ because the verifier was too smart. It tracked the known safe range of R0 values and pruned the search earlier before hitting exact 8192 limit. bpf_semi_rand_get() was too (un)?lucky. k = 0; was missing in bpf_fill_scale2. It was testing a bit shorter sequence of jumps than intended. Signed-off-by: Alexei Starovoitov <[email protected]> Acked-by: Andrii Nakryiko <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions