[PATCH v2 1/2] tracing: allow disabling compilation of specific trace systems

2015-07-16 Thread Tal Shorer
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. Signed-off-by: Tal Shorer --- include/linux/tracepoint.h | 17 ++---

[PATCH v2 1/2] tracing: allow disabling compilation of specific trace systems

2015-07-16 Thread Tal Shorer
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. Signed-off-by: Tal Shorer tal.sho...@gmail.com --- include/linux/tracepoint.h | 17 ++---