tracing: Add example and documentation for new __vstring() macro
authorSteven Rostedt (Google) <rostedt@goodmis.org>
Fri, 15 Jul 2022 21:55:55 +0000 (17:55 -0400)
committerSteven Rostedt (Google) <rostedt@goodmis.org>
Sun, 24 Jul 2022 23:11:17 +0000 (19:11 -0400)
commitfea6ac554d9dea849e2517284b17f99fb9be423a
treeb76a8797a02b4482973107578dbad6464c3af7e2
parentf5eab65ff2b76449286d18efc7fee3e0b72f7d9b
tracing: Add example and documentation for new __vstring() macro

Update the sample trace events to include an example that uses the new
__vstring() helpers for TRACE_EVENTS.

Link: https://lkml.kernel.org/r/20220715175555.16375a3b@gandalf.local.home
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
samples/trace_events/trace-events-sample.c
samples/trace_events/trace-events-sample.h