|
|
Log in / Subscribe / Register

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)


to post comments

Using the TRACE_EVENT() macro (Part 3)

Posted Apr 22, 2010 21:12 UTC (Thu) by jake (editor, #205) [Link]

> The second "DECLARE_TRACE" should be "DEFINE_TRACE".

Yup, fixed now, thanks!

jake


Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds