commit | 6adc13f8c096736957444ffa2aa11421b5671aef | [log] [tgz] |
---|---|---|
author | Steven Rostedt (Red Hat) <rostedt@goodmis.org> | Mon Feb 09 16:32:19 2015 -0500 |
committer | Steven Rostedt <rostedt@goodmis.org> | Mon Feb 09 18:05:39 2015 -0500 |
tree | 705f6ba74c25d29405f80e339a6562c81d145018 | |
parent | c4c7eb29382c456b9be9858c357a490ae0ccd0f6 [diff] |
tracing: Add TRACE_EVENT_FN example If a function should be called before a tracepoint is enabled and/or after it is disabled, the TRACE_EVENT_FN() serves this purpose. But it is not well documented. Having it as a sample would help developers to know how to use it. Signed-off-by: Steven Rostedt <rostedt@goodmis.org>