diff options
| author | Yonghong Song <[email protected]> | 2024-09-04 22:12:56 +0000 |
|---|---|---|
| committer | Alexei Starovoitov <[email protected]> | 2024-09-04 23:46:22 +0000 |
| commit | eff5b5fffc1d39fb9e5e66d6aa4ed3fcb109caac (patch) | |
| tree | 2e3852a76c55a56d84a47afc852212776c697a57 /tools/lib/bpf/bpf_tracing.h | |
| parent | bpf, x64: Fix a jit convergence issue (diff) | |
| download | kernel-eff5b5fffc1d39fb9e5e66d6aa4ed3fcb109caac.tar.gz kernel-eff5b5fffc1d39fb9e5e66d6aa4ed3fcb109caac.zip | |
selftests/bpf: Add a selftest for x86 jit convergence issues
The core part of the selftest, i.e., the je <-> jmp cycle, mimics the
original sched-ext bpf program. The test will fail without the
previous patch.
I tried to create some cases for other potential cycles
(je <-> je, jmp <-> je and jmp <-> jmp) with similar pattern
to the test in this patch, but failed. So this patch
only contains one test for je <-> jmp cycle.
Signed-off-by: Yonghong Song <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/lib/bpf/bpf_tracing.h')
0 files changed, 0 insertions, 0 deletions
