Re: [PATCH] sched: Add preempt checks in preempt_schedule() code
From: Steven Rostedt
Date: Mon Mar 21 2016 - 10:35:19 EST
On Mon, 21 Mar 2016 15:11:45 +0100
Peter Zijlstra <peterz@xxxxxxxxxxxxx> wrote:
> So the problem with preempt_enable_trace() is that we just called a
> _notrace(), and while I now know these are two different trace thingies,
> I might have forgotten that in a few days.
>
What about preempt_latency_start() for the disable, and
preempt_latency_stop() for the enable? Make it more like a stop watch?
-- Steve