Re: [PATCH v2] selftests/tracing: Fix test_multiple_writes stall

From: Fushuai Wang

Date: Tue Jan 06 2026 - 22:49:34 EST


> When /sys/kernel/tracing/buffer_size_kb is less than 12KB,
> the test_multiple_writes test will stall and wait for more
> input due to insufficient buffer space.
>
> Check current buffer_size_kb value before the test. If it is
> less than 12KB, it temporarily increase the buffer to 12KB,
> and restore the original value after the tests are completed.
>
> Fixes: 37f46601383a ("selftests/tracing: Add basic test for trace_marker_raw file")
> Suggested-by: Steven Rostedt <rostedt@xxxxxxxxxxx>
> Signed-off-by: Fushuai Wang <wangfushuai@xxxxxxxxx>

Gentle ping.

---
Regards,
WANG