[PATCH] tracing: Allow wakeup_dl tracer to be used by instances

From: Zhou Chengming
Date: Sun Nov 13 2016 - 22:22:02 EST


Allow wakeup_dl tracer to be used by instances, like wakeup tracer
and wakeup_rt tracer.

Signed-off-by: Zhou Chengming <zhouchengming1@xxxxxxxxxx>
---
kernel/trace/trace_sched_wakeup.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/kernel/trace/trace_sched_wakeup.c b/kernel/trace/trace_sched_wakeup.c
index 9d4399b..1bf2324 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,
};

--
1.7.7