in practice the jitter is much lower - a couple of microseconds - up
to a few dozen at most.
But it's a possibility, and i think the best solution is something
that Steve suggested yesterday: a /debug/tracing/trace_options flag
that turns on global ordering for tracing timestamps. Something like:
echo global_timestamps > /debug/tracing/trace_options
tracers could also change the default of this flag. The function-cost
tracer will probably want to default to globally synchronous
timestamps, while the preempt and irqsoff tracers want to default to
local timestamps only.
Would something like this work for you?
Ingo
--