mirror of
https://github.com/torvalds/linux.git
synced 2026-09-14 16:10:02 +02:00
On ARM64 kernels with 64K pages, the trace_marker_raw test fails because
bash's printf builtin uses stdio buffering which splits output into
multiple small write() calls to the tracefs file. Since each individual
write is within TRACE_MARKER_MAX_SIZE (4096), they all succeed, causing
the "too big" write test to incorrectly pass.
Fix by writing through dd with iflag=fullblock to guarantee a single
atomic write() syscall to trace_marker_raw.
Link: https://lore.kernel.org/r/20260601023251.1916483-1-dtcccc@linux.alibaba.com
Fixes:
|
||
|---|---|---|
| .. | ||
| basic1.tc | ||
| basic2.tc | ||
| basic3.tc | ||
| basic4.tc | ||
| mount_options.tc | ||
| ringbuffer_size.tc | ||
| ringbuffer_subbuf_size.tc | ||
| snapshot.tc | ||
| snapshot1.tc | ||
| test_ownership.tc | ||
| trace_marker_raw.tc | ||
| trace_marker.tc | ||
| trace_pipe.tc | ||