diff options
author | Peter Zijlstra <a.p.zijlstra@chello.nl> | 2010-05-04 14:36:56 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2010-05-07 05:28:17 -0400 |
commit | 27a9da6538ee18046d7bff8e36a9f783542c54c3 (patch) | |
tree | 9f9944ca8742ec52f7e4a674f7475fc0378abdb8 /kernel/trace/ftrace.c | |
parent | 48652ced1533c3372f996a0d83b6e73b1f1c9381 (diff) |
sched: Remove rq argument to the tracepoints
struct rq isn't visible outside of sched.o so its near useless to
expose the pointer, also there are no users of it, so remove it.
Acked-by: Steven Rostedt <rostedt@goodmis.org>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
LKML-Reference: <1272997616.1642.207.camel@laptop>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/trace/ftrace.c')
-rw-r--r-- | kernel/trace/ftrace.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/kernel/trace/ftrace.c b/kernel/trace/ftrace.c index 2404b59b3097..aa3a92b511e2 100644 --- a/kernel/trace/ftrace.c +++ b/kernel/trace/ftrace.c | |||
@@ -3212,8 +3212,7 @@ free: | |||
3212 | } | 3212 | } |
3213 | 3213 | ||
3214 | static void | 3214 | static void |
3215 | ftrace_graph_probe_sched_switch(struct rq *__rq, struct task_struct *prev, | 3215 | ftrace_graph_probe_sched_switch(struct task_struct *prev, struct task_struct *next) |
3216 | struct task_struct *next) | ||
3217 | { | 3216 | { |
3218 | unsigned long long timestamp; | 3217 | unsigned long long timestamp; |
3219 | int index; | 3218 | int index; |