diff options
| author | Vincent Donnefort <vdonnefort@google.com> | 2026-04-01 05:50:59 +0100 |
|---|---|---|
| committer | Marc Zyngier <maz@kernel.org> | 2026-04-02 14:16:09 +0100 |
| commit | ce47b798ed1e44a6ae2c2966cdf7cba6b428083e (patch) | |
| tree | b1b7251f7040955af6dd799ac12109d39a9b6dab /rust/kernel/interop/git@git.tavy.me:linux-stable.git | |
| parent | 58b4bd18390ec3118d8577e19bdee0d01d40c31e (diff) | |
tracing: Non-consuming read for trace remotes with an offline CPU
When a trace_buffer is created while a CPU is offline, this CPU is
cleared from the trace_buffer CPU mask, preventing the creation of a
non-consuming iterator (ring_buffer_iter). For trace remotes, it means
the iterator fails to be allocated (-ENOMEM) even though there are
available ring buffers in the trace_buffer.
For non-consuming reads of trace remotes, skip missing ring_buffer_iter
to allow reading the available ring buffers.
Acked-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Signed-off-by: Vincent Donnefort <vdonnefort@google.com>
Link: https://patch.msgid.link/20260401045100.3394299-2-vdonnefort@google.com
Signed-off-by: Marc Zyngier <maz@kernel.org>
Diffstat (limited to 'rust/kernel/interop/git@git.tavy.me:linux-stable.git')
0 files changed, 0 insertions, 0 deletions
