Using the TRACE_EVENT() macro (Part 3)
Using the TRACE_EVENT() macro (Part 3)
Posted Apr 22, 2010 20:31 UTC (Thu) by compudj (subscriber, #43335)Parent article: Using the TRACE_EVENT() macro (Part 3)
There seems to be a small typo:
The tracepoint code created by Mathieu Desnoyers required a
DECLARE_TRACE(name, proto, args) be defined in a header file, and in
some C file DECLARE_TRACE(name) was used.
The second "DECLARE_TRACE" should be "DEFINE_TRACE".
(credits to Douglas Santos for spotting this)
