tracing: Do not create function tracer options when not compiled in
When the function tracer is not compiled in, do not create the option files
for it.
Fix up both the sched_wakeup and irqsoff tracers to handle the change.
Signed-off-by:
Steven Rostedt <rostedt@goodmis.org>
Showing
- kernel/trace/trace.c 2 additions, 2 deletionskernel/trace/trace.c
- kernel/trace/trace.h 10 additions, 1 deletionkernel/trace/trace.h
- kernel/trace/trace_irqsoff.c 23 additions, 5 deletionskernel/trace/trace_irqsoff.c
- kernel/trace/trace_sched_wakeup.c 28 additions, 14 deletionskernel/trace/trace_sched_wakeup.c
Loading
Please register or sign in to comment