]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9bc39800c306b0456661589ead4d6e4785a8a3d7
treeb76a8797a02b4482973107578dbad6464c3af7e2
parentfc631b329eaf3e7580ffd933b2dc52724963b8f5
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