[PATCH v2 3/4] tracing/remotes: Add REMOTE_EVENT_CUSTOM_PRINTK() helper

Steven Rostedt rostedt at goodmis.org
Tue Jul 14 15:40:37 PDT 2026


On Wed,  8 Jul 2026 08:54:34 +0100
Vincent Donnefort <vdonnefort at google.com> wrote:

> The current REMOTE_EVENT() takes as a __printk argument a string format
> and a list of arguments, such as RE_STRUCT("foo=%d bar=%d", foo, bar).
> Add a REMOTE_EVENT_CUSTOM_PRINTK() where the __printk argument can be a
> function. This intends to support the creation of a "printk" event for
> the arm64 nVHE/pKVM hypervisor with a dynamic prototype and by extension
> a dynamic print format.
> 
> Reviewed-by: Fuad Tabba <tabba at google.com>
> Tested-by: Fuad Tabba <tabba at google.com>
> Signed-off-by: Vincent Donnefort <vdonnefort at google.com>

I'm assuming this goes in via the arm64 or KVM trees?

Acked-by: Steven Rostedt <rostedt at goodmis.org>

-- Steve



More information about the linux-arm-kernel mailing list