summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorFeng Jiang <jiangfeng@kylinos.cn>2026-07-23 05:41:33 +0000
committerKumar Kartikeya Dwivedi <memxor@gmail.com>2026-07-24 22:20:57 +0200
commita0032241aa14d16f6e8b84ae68fbe2b8d8d014f1 (patch)
treed3bc7f770333dc94e883d3d6640557e3f650f25a /tools/perf/scripts/python/bin
parent6ef8ff20c30b21b523fe1065713e8fabd0debca4 (diff)
selftests/bpf: Test timed may_goto preserves R0-R5
Add a test that checks R0-R5 are preserved across arch_bpf_timed_may_goto() calls. Use bpf_get_prandom_u32() to avoid the verifier removing the checks via DCE. Suggested-by: Björn Töpel <bjorn@kernel.org> Signed-off-by: Feng Jiang <jiangfeng@kylinos.cn> Reviewed-by: Pu Lehui <pulehui@huawei.com> Reviewed-by: Björn Töpel <bjorn@kernel.org> Acked-by: Björn Töpel <bjorn@kernel.org> Link: https://lore.kernel.org/bpf/20260723-riscv-bpf-timed-may-goto-v5-2-86acb54e5642@kylinos.cn Signed-off-by: Kumar Kartikeya Dwivedi <memxor@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions