aboutsummaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorFushuai Wang <wangfushuai@baidu.com>2026-01-09 11:36:20 +0800
committerShuah Khan <skhan@linuxfoundation.org>2026-01-09 15:49:32 -0700
commit6e39903c73df08b256322d04c4dfe4a82ec63a45 (patch)
tree61a0058a144352f62814575cfe25c91b9cfd137c /net
parent9ace4753a5202b02191d54e9fdf7f9e3d02b85eb (diff)
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. Link: https://lore.kernel.org/r/20260109033620.25727-1-fushuai.wang@linux.dev Fixes: 37f46601383a ("selftests/tracing: Add basic test for trace_marker_raw file") Suggested-by: Steven Rostedt <rostedt@goodmis.org> Signed-off-by: Fushuai Wang <wangfushuai@baidu.com> Acked-by: Steven Rostedt (Google) <rostedt@goodmis.org> Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions