tracing: Fix doc mistakes in trace sample
authorWei Yang <richard.weiyang@gmail.com>
Tue, 28 Apr 2020 21:49:59 +0000 (21:49 +0000)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Thu, 7 May 2020 17:32:57 +0000 (13:32 -0400)
commitf094a233e1d5b1c61cc797d204aa28b611058827
tree134f567314525e3b6224c5631a01c4602c4bbd71
parent386c82a70319d42dba4f1b30e5e7076f2b4d8c2f
tracing: Fix doc mistakes in trace sample

As the example below shows, DECLARE_EVENT_CLASS() is used instead of
DEFINE_EVENT_CLASS().

Link: http://lkml.kernel.org/r/20200428214959.11259-1-richard.weiyang@gmail.com
Signed-off-by: Wei Yang <richard.weiyang@gmail.com>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
samples/trace_events/trace-events-sample.h