/* Useful for tracing that does not cross to other CPUs nor does it go through idle events.  */
u64 notrace trace_clock_local(void)
/* Useful for tracing that does not cross to other CPUs nor does it go through idle events.  */
u64 notrace trace_clock_local(void)
{
	u64 clock;
	int resched;
	resched = ftrace_preempt_disable();
	clock = sched_clock();
	ftrace_preempt_enable(resched);
	return clock;
}