tracing: Allow wakeup_dl tracer to be used by instances
authorZhou Chengming <zhouchengming1@huawei.com>
Mon, 14 Nov 2016 03:19:13 +0000 (11:19 +0800)
committerSteven Rostedt <rostedt@goodmis.org>
Mon, 14 Nov 2016 21:43:00 +0000 (16:43 -0500)
Allow wakeup_dl tracer to be used by instances, like wakeup tracer
and wakeup_rt tracer.

Link: http://lkml.kernel.org/r/1479093553-31264-1-git-send-email-zhouchengming1@huawei.com
Signed-off-by: Zhou Chengming <zhouchengming1@huawei.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
kernel/trace/trace_sched_wakeup.c

index 9d4399b553a3c1e05387b55ec861214e86efa7ed..1bf2324dc68203e1e339235e4474fdca248c1632 100644 (file)
@@ -790,6 +790,7 @@ static struct tracer wakeup_dl_tracer __read_mostly =
 #endif
        .open           = wakeup_trace_open,
        .close          = wakeup_trace_close,
+       .allow_instances = true,
        .use_max_tr     = true,
 };