diff options
| author | Eduard Zingerman <[email protected]> | 2023-04-21 17:42:32 +0000 |
|---|---|---|
| committer | Alexei Starovoitov <[email protected]> | 2023-04-21 19:26:52 +0000 |
| commit | 82887c2568e4f78d5cfcb85bf3cdc056dfd97c85 (patch) | |
| tree | 8b0a1dd515525c0daf9a74fe0b61c8b9614f95b0 /tools/perf/scripts/python | |
| parent | selftests/bpf: verifier/subreg converted to inline assembly (diff) | |
| download | kernel-82887c2568e4f78d5cfcb85bf3cdc056dfd97c85.tar.gz kernel-82887c2568e4f78d5cfcb85bf3cdc056dfd97c85.zip | |
selftests/bpf: verifier/unpriv converted to inline assembly
Test verifier/unpriv semi-automatically converted to use inline assembly.
The verifier/unpriv.c had to be split in two parts:
- the bulk of the tests is in the progs/verifier_unpriv.c;
- the single test that needs `struct bpf_perf_event_data`
definition is in the progs/verifier_unpriv_perf.c.
The tests above can't be in a single file because:
- first requires inclusion of the filter.h header
(to get access to BPF_ST_MEM macro, inline assembler does
not support this isntruction);
- the second requires vmlinux.h, which contains definitions
conflicting with filter.h.
Signed-off-by: Eduard Zingerman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
