diff options
Diffstat (limited to 'kernel/trace/trace.h')
-rw-r--r-- | kernel/trace/trace.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/kernel/trace/trace.h b/kernel/trace/trace.h index 2b7352bf1ce6..90e0ba0f6eba 100644 --- a/kernel/trace/trace.h +++ b/kernel/trace/trace.h | |||
@@ -164,6 +164,12 @@ void tracing_sched_switch_trace(struct trace_array *tr, | |||
164 | struct task_struct *next, | 164 | struct task_struct *next, |
165 | unsigned long flags); | 165 | unsigned long flags); |
166 | void tracing_record_cmdline(struct task_struct *tsk); | 166 | void tracing_record_cmdline(struct task_struct *tsk); |
167 | |||
168 | void tracing_sched_wakeup_trace(struct trace_array *tr, | ||
169 | struct trace_array_cpu *data, | ||
170 | struct task_struct *wakee, | ||
171 | struct task_struct *cur, | ||
172 | unsigned long flags); | ||
167 | void trace_special(struct trace_array *tr, | 173 | void trace_special(struct trace_array *tr, |
168 | struct trace_array_cpu *data, | 174 | struct trace_array_cpu *data, |
169 | unsigned long arg1, | 175 | unsigned long arg1, |
@@ -194,11 +200,17 @@ extern cycle_t ftrace_now(int cpu); | |||
194 | #ifdef CONFIG_SCHED_TRACER | 200 | #ifdef CONFIG_SCHED_TRACER |
195 | extern void | 201 | extern void |
196 | wakeup_sched_switch(struct task_struct *prev, struct task_struct *next); | 202 | wakeup_sched_switch(struct task_struct *prev, struct task_struct *next); |
203 | extern void | ||
204 | wakeup_sched_wakeup(struct task_struct *wakee, struct task_struct *curr); | ||
197 | #else | 205 | #else |
198 | static inline void | 206 | static inline void |
199 | wakeup_sched_switch(struct task_struct *prev, struct task_struct *next) | 207 | wakeup_sched_switch(struct task_struct *prev, struct task_struct *next) |
200 | { | 208 | { |
201 | } | 209 | } |
210 | static inline void | ||
211 | wakeup_sched_wakeup(struct task_struct *wakee, struct task_struct *curr) | ||
212 | { | ||
213 | } | ||
202 | #endif | 214 | #endif |
203 | 215 | ||
204 | #ifdef CONFIG_CONTEXT_SWITCH_TRACER | 216 | #ifdef CONFIG_CONTEXT_SWITCH_TRACER |