diff options
author | Oleg Nesterov <oleg@redhat.com> | 2013-07-31 19:31:37 +0200 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2013-08-21 23:28:03 -0400 |
commit | 836d481ed7c91152c6144ea3a3363cad3940b3e0 (patch) | |
tree | b33beed354fc924b65afd4593ded55cef9f5c488 /kernel/trace/trace.h | |
parent | 620a30e97febc8332590376c94ed0e9dba522bc8 (diff) | |
download | blackbird-op-linux-836d481ed7c91152c6144ea3a3363cad3940b3e0.tar.gz blackbird-op-linux-836d481ed7c91152c6144ea3a3363cad3940b3e0.zip |
tracing: Kill the !CONFIG_MODULES code in trace_events.c
Move trace_module_nb under CONFIG_MODULES and kill the dummy
trace_module_notify(). Imho it doesn't make sense to define
"struct notifier_block" and its .notifier_call just to avoid
"ifdef" in event_trace_init(), and all other !CONFIG_MODULES
code has already gone away.
Link: http://lkml.kernel.org/r/20130731173137.GA31043@redhat.com
Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'kernel/trace/trace.h')
0 files changed, 0 insertions, 0 deletions