init: Have initcall_debug still work without CONFIG_TRACEPOINTS
authorSteven Rostedt (VMware) <rostedt@goodmis.org>
Fri, 6 Apr 2018 13:24:25 +0000 (09:24 -0400)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Sun, 8 Apr 2018 00:24:40 +0000 (20:24 -0400)
commitb0dc52f15e7fe2b973ecfe4f3706f1b35ce3943a
tree4166441e144cbb6d3a37119829c379ac73963278
parent4e37958d1288ce90e8b8eb526ed93d6b2ee6cf54
init: Have initcall_debug still work without CONFIG_TRACEPOINTS

Add macros around the initcall_debug tracepoint code to have the code to
default back to the old method if CONFIG_TRACEPOINTS is not enabled.

Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
init/main.c