aboutsummaryrefslogtreecommitdiffstats
path: root/lib/test_fortify/write_overflow-strncpy-src.c
diff options
context:
space:
mode:
authorYunhui Cui <cuiyunhui@bytedance.com>2025-08-04 10:51:10 +0800
committerPaul Walmsley <pjw@kernel.org>2025-09-18 19:28:13 -0600
commit568a2fa10dd06bbd8160e3f8cce9483fabcb7121 (patch)
tree3e72decc86753b40e9e40446eb4effeee53934f4 /lib/test_fortify/write_overflow-strncpy-src.c
parentselftests: riscv: Add README for RISC-V KSelfTest (diff)
downloadlinux-568a2fa10dd06bbd8160e3f8cce9483fabcb7121.tar.gz
linux-568a2fa10dd06bbd8160e3f8cce9483fabcb7121.zip
perf: riscv: skip empty batches in counter start
Avoid unnecessary SBI calls when starting non-overflowed counters in pmu_sbi_start_ovf_ctrs_sbi() by checking ctr_start_mask. Signed-off-by: Yunhui Cui <cuiyunhui@bytedance.com> Reviewed-by: Anup Patel <anup@brainfault.org> Link: https://lore.kernel.org/r/20250804025110.11088-1-cuiyunhui@bytedance.com Signed-off-by: Paul Walmsley <pjw@kernel.org>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions