Thread (48 messages) 48 messages, 4 authors, 2025-09-12

Re: [PATCH v6 03/24] tracing: Introduce trace remotes

From: Steven Rostedt <rostedt@goodmis.org>
Date: 2025-09-09 18:18:47
Also in: kvmarm, linux-trace-kernel, lkml

On Tue, 9 Sep 2025 17:10:16 +0100
Vincent Donnefort [off-list ref] wrote:

quoted
I'm more worried about the allocation not being big enough for the rb_desc
being filled. I just noticed that the trace_remote_register() function is
missing a kerneldoc header. Please add one and specify what the parameters
are for as well as their requirements.

It's fine to state that the allocation of desc must match what the cpumask
is. But the lack of comments about what the function does and what is
expected of the parameters makes it hard to know if it is performing
properly.  
Ok, will do!

I could also add a desc_size parameter to make sure we won't overflow the given
desc?
I wonder if we should just to make sure things are checked. Having a
bitmask determine the size is kinda strange.

-- Steve

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help