void trace_hw_branch_oops(void)
{
	spin_lock(&bts_tracer_lock);

	trace_bts_cpu(hw_branch_trace);

	spin_unlock(&bts_tracer_lock);
}
Beispiel #2
0
void trace_hw_branch_oops(void)
{
	if (this_tracer) {
		ds_suspend_bts_noirq(this_tracer);
		trace_bts_cpu(hw_branch_trace);
		ds_resume_bts_noirq(this_tracer);
	}
}