[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <1d52f1ee-0f60-410e-8c7e-c5fee0a92402@linuxfoundation.org>
Date: Fri, 9 Jan 2026 15:51:34 -0700
From: Shuah Khan <skhan@...uxfoundation.org>
To: Fushuai Wang <fushuai.wang@...ux.dev>, rostedt@...dmis.org,
mhiramat@...nel.org, mathieu.desnoyers@...icios.com, shuah@...nel.org,
wangfushuai@...du.com
Cc: linux-kernel@...r.kernel.org, linux-trace-kernel@...r.kernel.org,
linux-kselftest@...r.kernel.org, Shuah Khan <skhan@...uxfoundation.org>
Subject: Re: [PATCH v3] selftests/tracing: Fix test_multiple_writes stall
On 1/8/26 20:36, Fushuai Wang wrote:
> From: Fushuai Wang <wangfushuai@...du.com>
>
> 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@...dmis.org>
> Signed-off-by: Fushuai Wang <wangfushuai@...du.com>
> Acked-by: Steven Rostedt (Google) <rostedt@...dmis.org>
> ---
> V2 -> V3: Make the From and SoB match.
> V1 -> V2: Restore buffer_size_kb outside of awk script.
Thank you. Applied to linux-kselftest fixes branch.
I will send this up for the next rc.
thanks,
-- Shuah
Powered by blists - more mailing lists