tracing: Allow disabling compilation of specific trace systems
authorTal Shorer <tal.shorer@gmail.com>
Sat, 1 Aug 2015 12:27:57 +0000 (15:27 +0300)
committerSteven Rostedt <rostedt@goodmis.org>
Wed, 21 Oct 2015 01:55:44 +0000 (21:55 -0400)
commitc63b7682b6d90530d3a071ff75b81bfddcce8598
tree06ae1511fd717a638d28550388fb2f52b312d179
parentb86d9371be2fcb6ebf47e6c15d23d0ec1586664a
tracing: Allow disabling compilation of specific trace systems

Allow a trace events header file to disable compilation of its
trace events by defining the preprocessor macro NOTRACE.

This could be done, for example, according to a Kconfig option.

Link: http://lkml.kernel.org/r/1438432079-11704-3-git-send-email-tal.shorer@gmail.com
Signed-off-by: Tal Shorer <tal.shorer@gmail.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
include/linux/tracepoint.h
include/trace/define_trace.h