1
0
Fork 0

ftrace: move pc counter in irqtrace

The assigning of the pc counter is in the wrong spot in the
check_critical_timing function. The pc variable is used in the
out jump.

Signed-off-by: Steven Rostedt <srostedt@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
wifi-calibration
Steven Rostedt 2008-10-02 19:23:04 -04:00 committed by Ingo Molnar
parent aa1e0e3bcf
commit 6450c1d321
1 changed files with 2 additions and 2 deletions

View File

@ -142,11 +142,11 @@ check_critical_timing(struct trace_array *tr,
local_save_flags(flags);
pc = preempt_count();
if (!report_latency(delta))
goto out;
pc = preempt_count();
spin_lock_irqsave(&max_trace_lock, flags);
/* check if we are still the max latency */