]> 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)
commit1da19fa13fe983a91391c7531f0353fe1fd45a1e
treeb76a8797a02b4482973107578dbad6464c3af7e2
parent05182ec853439089b12fd64109f2d057b8ba7934
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