aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/kernel/trace/trace_sched_wakeup.c
diff options
context:
space:
mode:
authorOleg Nesterov <oleg@redhat.com>2014-07-23 21:35:03 +0200
committerSteven Rostedt <rostedt@goodmis.org>2014-11-11 12:42:44 -0500
commit458faf0b88b19a46d51bb9760fa6e03a1bc6d97b (patch)
treebbb7975f14054631d54ed715f744af61c5f9dae6 /kernel/trace/trace_sched_wakeup.c
parenttracing: Kill tracing_{start,stop}_sched_switch_record() and tracing_sched_switch_assign_trace() (diff)
downloadwireguard-linux-458faf0b88b19a46d51bb9760fa6e03a1bc6d97b.tar.xz
wireguard-linux-458faf0b88b19a46d51bb9760fa6e03a1bc6d97b.zip
tracing: Kill the dead code in probe_sched_switch() and probe_sched_wakeup()
After the previous patch it is clear that "tracer_enabled" can never be true, we can remove the "if (tracer_enabled)" code in probe_sched_switch() and probe_sched_wakeup(). Plus we can obviously remove tracer_enabled, ctx_trace, and sched_stopped as well. Link: http://lkml.kernel.org/p/20140723193503.GA30217@redhat.com Signed-off-by: Oleg Nesterov <oleg@redhat.com> Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'kernel/trace/trace_sched_wakeup.c')
0 files changed, 0 insertions, 0 deletions