Thread (8 messages) read the whole thread 8 messages, 4 authors, 2026-01-09

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

From: Steven Rostedt <rostedt@goodmis.org>
Date: 2026-01-07 15:18:23
Also in: linux-kselftest, lkml

On Wed,  7 Jan 2026 11:49:14 +0800
Fushuai Wang [off-list ref] wrote:
quoted
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@goodmis.org>
Signed-off-by: Fushuai Wang <redacted>  
Gentle ping.
Acked-by: Steven Rostedt (Google) <rostedt@goodmis.org>

Shuah,

Care to take this through your tree? It does fix a bug so it likely should
go into the rc releases and not wait for the next merge window.

Thanks,

-- Steve
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help