Re: [PATCH v2] selftests/tracing: Fix test_multiple_writes stall
From: Shuah
Date: Thu Jan 08 2026 - 13:37:48 EST
On 1/7/26 08:18, Steven Rostedt wrote:
On Wed, 7 Jan 2026 11:49:14 +0800
Fushuai Wang <fushuai.wang@xxxxxxxxx> wrote:
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.
Acked-by: Steven Rostedt (Google) <rostedt@xxxxxxxxxxx>
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.
Yes I can take this through and send this for rc5 or rc6.
But first the following warning needs fixing before I can
apply the patch
WARNING: From:/Signed-off-by: email address mismatch: 'From: Fushuai Wang <fushuai.wang@xxxxxxxxx>' != 'Signed-off-by: Fushuai Wang <wangfushuai@xxxxxxxxx>'
Fushuai, please send me v3
thanks,
-- Shuah