diff options
author | Peter Zijlstra <a.p.zijlstra@chello.nl> | 2010-05-04 20:36:56 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2010-05-07 11:28:17 +0200 |
commit | 27a9da6538ee18046d7bff8e36a9f783542c54c3 (patch) | |
tree | 9f9944ca8742ec52f7e4a674f7475fc0378abdb8 /kernel/trace/ftrace.c | |
parent | Merge commit 'v2.6.34-rc6' into sched/core (diff) | |
download | linux-27a9da6538ee18046d7bff8e36a9f783542c54c3.tar.xz linux-27a9da6538ee18046d7bff8e36a9f783542c54c3.zip |
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: } static void -ftrace_graph_probe_sched_switch(struct rq *__rq, struct task_struct *prev, - struct task_struct *next) +ftrace_graph_probe_sched_switch(struct task_struct *prev, struct task_struct *next) { unsigned long long timestamp; int index; |