提交 6450c1d3 编写于 作者: S Steven Rostedt 提交者: Ingo Molnar

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: NSteven Rostedt <srostedt@redhat.com>
Signed-off-by: NIngo Molnar <mingo@elte.hu>
上级 aa1e0e3b
......@@ -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 */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册