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