[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20260107034914.22315-1-fushuai.wang@linux.dev>
Date: Wed, 7 Jan 2026 11:49:14 +0800
From: Fushuai Wang <fushuai.wang@...ux.dev>
To: fushuai.wang@...ux.dev
Cc: linux-kernel@...r.kernel.org,
linux-kselftest@...r.kernel.org,
linux-trace-kernel@...r.kernel.org,
mathieu.desnoyers@...icios.com,
mhiramat@...nel.org,
rostedt@...dmis.org,
shuah@...nel.org,
wangfushuai@...du.com
Subject: Re: [PATCH v2] selftests/tracing: Fix test_multiple_writes stall
> 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>
Gentle ping.
---
Regards,
WANG
Powered by blists - more mailing lists