diff options
author | Eduard Zingerman <eddyz87@gmail.com> | 2022-06-21 02:53:43 +0300 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2022-06-21 03:40:51 +0300 |
commit | f8acfdd04410d26b096a7082444cdc402df10f89 (patch) | |
tree | f3ea7252815a35d68dc4058ff8c7c22b95c06631 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 1ade23711971b0eececf0d7fedc29d3c1d2fce01 (diff) | |
download | linux-f8acfdd04410d26b096a7082444cdc402df10f89.tar.xz |
selftests/bpf: BPF test_verifier selftests for bpf_loop inlining
A number of test cases for BPF selftests test_verifier to check how
bpf_loop inline transformation rewrites the BPF program. The following
cases are covered:
- happy path
- no-rewrite when flags is non-zero
- no-rewrite when callback is non-constant
- subprogno in insn_aux is updated correctly when dead sub-programs
are removed
- check that correct stack offsets are assigned for spilling of R6-R8
registers
Signed-off-by: Eduard Zingerman <eddyz87@gmail.com>
Acked-by: Song Liu <songliubraving@fb.com>
Link: https://lore.kernel.org/r/20220620235344.569325-5-eddyz87@gmail.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions