diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2009-02-05 01:13:37 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-02-05 08:35:47 -0500 |
commit | 7be421510b91491d5aa5a29fa1005712039b95af (patch) | |
tree | 43c85cd688ea4e33b32816bb3f363215d572f052 /kernel/trace/trace_irqsoff.c | |
parent | 97e5b191ae7dc0f4f5b82b9db29782928b103b4d (diff) |
trace: Remove unused trace_array_cpu parameter
Impact: cleanup
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: Steven Rostedt <srostedt@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/trace/trace_irqsoff.c')
-rw-r--r-- | kernel/trace/trace_irqsoff.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kernel/trace/trace_irqsoff.c b/kernel/trace/trace_irqsoff.c index ed344b022a14..c6b442d88de8 100644 --- a/kernel/trace/trace_irqsoff.c +++ b/kernel/trace/trace_irqsoff.c | |||
@@ -95,7 +95,7 @@ irqsoff_tracer_call(unsigned long ip, unsigned long parent_ip) | |||
95 | disabled = atomic_inc_return(&data->disabled); | 95 | disabled = atomic_inc_return(&data->disabled); |
96 | 96 | ||
97 | if (likely(disabled == 1)) | 97 | if (likely(disabled == 1)) |
98 | trace_function(tr, data, ip, parent_ip, flags, preempt_count()); | 98 | trace_function(tr, ip, parent_ip, flags, preempt_count()); |
99 | 99 | ||
100 | atomic_dec(&data->disabled); | 100 | atomic_dec(&data->disabled); |
101 | } | 101 | } |
@@ -153,7 +153,7 @@ check_critical_timing(struct trace_array *tr, | |||
153 | if (!report_latency(delta)) | 153 | if (!report_latency(delta)) |
154 | goto out_unlock; | 154 | goto out_unlock; |
155 | 155 | ||
156 | trace_function(tr, data, CALLER_ADDR0, parent_ip, flags, pc); | 156 | trace_function(tr, CALLER_ADDR0, parent_ip, flags, pc); |
157 | 157 | ||
158 | latency = nsecs_to_usecs(delta); | 158 | latency = nsecs_to_usecs(delta); |
159 | 159 | ||
@@ -177,7 +177,7 @@ out: | |||
177 | data->critical_sequence = max_sequence; | 177 | data->critical_sequence = max_sequence; |
178 | data->preempt_timestamp = ftrace_now(cpu); | 178 | data->preempt_timestamp = ftrace_now(cpu); |
179 | tracing_reset(tr, cpu); | 179 | tracing_reset(tr, cpu); |
180 | trace_function(tr, data, CALLER_ADDR0, parent_ip, flags, pc); | 180 | trace_function(tr, CALLER_ADDR0, parent_ip, flags, pc); |
181 | } | 181 | } |
182 | 182 | ||
183 | static inline void | 183 | static inline void |
@@ -210,7 +210,7 @@ start_critical_timing(unsigned long ip, unsigned long parent_ip) | |||
210 | 210 | ||
211 | local_save_flags(flags); | 211 | local_save_flags(flags); |
212 | 212 | ||
213 | trace_function(tr, data, ip, parent_ip, flags, preempt_count()); | 213 | trace_function(tr, ip, parent_ip, flags, preempt_count()); |
214 | 214 | ||
215 | per_cpu(tracing_cpu, cpu) = 1; | 215 | per_cpu(tracing_cpu, cpu) = 1; |
216 | 216 | ||
@@ -244,7 +244,7 @@ stop_critical_timing(unsigned long ip, unsigned long parent_ip) | |||
244 | atomic_inc(&data->disabled); | 244 | atomic_inc(&data->disabled); |
245 | 245 | ||
246 | local_save_flags(flags); | 246 | local_save_flags(flags); |
247 | trace_function(tr, data, ip, parent_ip, flags, preempt_count()); | 247 | trace_function(tr, ip, parent_ip, flags, preempt_count()); |
248 | check_critical_timing(tr, data, parent_ip ? : ip, cpu); | 248 | check_critical_timing(tr, data, parent_ip ? : ip, cpu); |
249 | data->critical_start = 0; | 249 | data->critical_start = 0; |
250 | atomic_dec(&data->disabled); | 250 | atomic_dec(&data->disabled); |