/* This is based on cpu_clock(), which will allow at most ~1 jiffy of jitter between CPUs. So it's a pretty scalable clock, but there can be offsets in the trace data.  */
u64 notrace trace_clock(void)
/* This is based on cpu_clock(), which will allow at most ~1 jiffy of jitter between CPUs. So it's a pretty scalable clock, but there can be offsets in the trace data.  */
u64 notrace trace_clock(void)
{
	return cpu_clock(raw_smp_processor_id());
}