diff options
| author | Vincent Donnefort <vdonnefort@google.com> | 2026-10-01 15:29:59 +0100 |
|---|---|---|
| committer | Marc Zyngier <maz@kernel.org> | 2026-10-03 10:09:09 +0100 |
| commit | 604aaeb39521ef70f56c036dc065b133c85f06aa (patch) | |
| tree | f81d8285530151f20e882649d1d5d786f68904aa /tools/perf/scripts/python | |
| parent | 955feee93e037af78caed7e98d29bbf0268420b0 (diff) | |
tracing/remotes: Add REMOTE_EVENT_CUSTOM_PRINTK() helper
The current REMOTE_EVENT() takes as a __printk argument a string format
and a list of arguments, such as RE_PRINTK("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.
Signed-off-by: Vincent Donnefort <vdonnefort@google.com>
Reviewed-by: Fuad Tabba <tabba@google.com>
Tested-by: Fuad Tabba <tabba@google.com>
Acked-by: Steven Rostedt <rostedt@goodmis.org>
Link: https://patch.msgid.link/20261001143000.3371786-4-vdonnefort@google.com
Signed-off-by: Marc Zyngier <maz@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
