Re: [patch V5 03/38] nmi, tracing: Provide nmi_enter/exit_notrace()

Steven Rostedt
2020-05-15T01:35:28Z

On Thu, 14 May 2020 21:32:30 -0400
Steven Rostedt <rostedt@goodmis.org> wrote:

> It's accounting only. Now it does use a per-cpu variable (which I see
> in other patches can be an issue) and calls time_get().

time_get() being defined as trace_clock_local(). And this in only
called if CONFIG_GENERIC_SCHED_CLOCK is not true, as that isn't NMI
safe.

-- Steve