summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZhou Chengming <zhouchengming1@huawei.com>2016-11-14 04:19:13 +0100
committerSteven Rostedt <rostedt@goodmis.org>2016-11-14 22:43:00 +0100
commit8d414bd2f77ce858f6b9d119c63b9ce29cf0b75d (patch)
tree31ef43f7ae77e2562ce92925f810d4fc9feb00cc
parenttracing/filter: Define op as the enum that it is (diff)
downloadlinux-8d414bd2f77ce858f6b9d119c63b9ce29cf0b75d.tar.xz
linux-8d414bd2f77ce858f6b9d119c63b9ce29cf0b75d.zip
tracing: Allow wakeup_dl tracer to be used by instances
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>
-rw-r--r--kernel/trace/trace_sched_wakeup.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/trace/trace_sched_wakeup.c b/kernel/trace/trace_sched_wakeup.c
index 9d4399b553a3..1bf2324dc682 100644
--- a/kernel/trace/trace_sched_wakeup.c
+++ b/kernel/trace/trace_sched_wakeup.c
@@ -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,
};