diff options
| author | Tao Cui <cuitao@kylinos.cn> | 2026-10-14 21:13:25 +0800 |
|---|---|---|
| committer | Tejun Heo <tj@kernel.org> | 2026-10-14 08:17:02 -1000 |
| commit | 6052353d2f32fd876ac0846b089f292dd5793141 (patch) | |
| tree | d725b1014af0393bd983da442a7075422a7b6cdb /tools/perf/scripts/python/mem-phys-addr.py | |
| parent | cce3a39cebca074e0994e2fbce7a6062b80e42d8 (diff) | |
selftests/sched_ext: Report reload_loop attach failures
reload_loop skips bpf_map__attach_struct_ops() failures silently:
measured on a loaded host, 1125-1233 of 2048 iterations failed, all
with EBUSY (the single scheduler slot changing hands between the two
threads) - the test passed while roughly half of its iterations never
ran.
Count the failures per thread, recording any errno other than EBUSY
separately. Fail the test on an unexpected errno or when a thread
failed every attach; a thread that completed at least one attach has
exercised the reload path, so ordinary EBUSY no longer prints on
every run. Name the iteration and thread counts in an enum.
Signed-off-by: Tao Cui <cuitao@kylinos.cn>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions
