diff options
author | Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca> | 2008-05-12 15:21:10 -0400 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2008-05-23 16:29:25 -0400 |
commit | 5b82a1b08a00b2adca3d9dd9777efff40b7aaaa1 (patch) | |
tree | 4dcce4af592ca177bee3dfeb34f9b482d142e713 /include/linux/sched.h | |
parent | 0aa977f592f17004f9d1d545f2e1bb9ea71896c3 (diff) |
Port ftrace to markers
Porting ftrace to the marker infrastructure.
Don't need to chain to the wakeup tracer from the sched tracer, because markers
support multiple probes connected.
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
CC: Steven Rostedt <rostedt@goodmis.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'include/linux/sched.h')
-rw-r--r-- | include/linux/sched.h | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h index 360ca99033d2..c0b1c69b55ce 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h | |||
@@ -2131,38 +2131,6 @@ __trace_special(void *__tr, void *__data, | |||
2131 | } | 2131 | } |
2132 | #endif | 2132 | #endif |
2133 | 2133 | ||
2134 | #ifdef CONFIG_CONTEXT_SWITCH_TRACER | ||
2135 | extern void | ||
2136 | ftrace_ctx_switch(void *rq, struct task_struct *prev, struct task_struct *next); | ||
2137 | extern void | ||
2138 | ftrace_wake_up_task(void *rq, struct task_struct *wakee, | ||
2139 | struct task_struct *curr); | ||
2140 | extern void ftrace_all_fair_tasks(void *__rq, void *__tr, void *__data); | ||
2141 | extern void | ||
2142 | ftrace_special(unsigned long arg1, unsigned long arg2, unsigned long arg3); | ||
2143 | #else | ||
2144 | static inline void | ||
2145 | ftrace_ctx_switch(void *rq, struct task_struct *prev, struct task_struct *next) | ||
2146 | { | ||
2147 | } | ||
2148 | static inline void | ||
2149 | sched_trace_special(unsigned long p1, unsigned long p2, unsigned long p3) | ||
2150 | { | ||
2151 | } | ||
2152 | static inline void | ||
2153 | ftrace_wake_up_task(void *rq, struct task_struct *wakee, | ||
2154 | struct task_struct *curr) | ||
2155 | { | ||
2156 | } | ||
2157 | static inline void ftrace_all_fair_tasks(void *__rq, void *__tr, void *__data) | ||
2158 | { | ||
2159 | } | ||
2160 | static inline void | ||
2161 | ftrace_special(unsigned long arg1, unsigned long arg2, unsigned long arg3) | ||
2162 | { | ||
2163 | } | ||
2164 | #endif | ||
2165 | |||
2166 | extern long sched_setaffinity(pid_t pid, const cpumask_t *new_mask); | 2134 | extern long sched_setaffinity(pid_t pid, const cpumask_t *new_mask); |
2167 | extern long sched_getaffinity(pid_t pid, cpumask_t *mask); | 2135 | extern long sched_getaffinity(pid_t pid, cpumask_t *mask); |
2168 | 2136 | ||