diff options
author | John Fastabend <[email protected]> | 2021-07-07 15:38:48 -0700 |
---|---|---|
committer | Daniel Borkmann <[email protected]> | 2021-07-09 12:08:40 +0200 |
commit | 1fb5ba29ad0835c5cbfc69a27f9c2733cb65726e (patch) | |
tree | a5eb64721247147d3aa1ee5c3d26954ab6743588 /tools/perf/scripts/python/event_analyzing_sample.py | |
parent | f263a81451c12da5a342d90572e317e611846f2c (diff) |
bpf: Selftest to verify mixing bpf2bpf calls and tailcalls with insn patch
This adds some extra noise to the tailcall_bpf2bpf4 tests that will cause
verify to patch insns. This then moves around subprog start/end insn
index and poke descriptor insn index to ensure that verify and JIT will
continue to track these correctly.
If done correctly verifier should pass this program same as before and
JIT should emit tail call logic.
Signed-off-by: John Fastabend <[email protected]>
Signed-off-by: Alexei Starovoitov <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions