tracing: implement trace_clock_*() APIs
authorIngo Molnar <mingo@elte.hu>
Thu, 26 Feb 2009 17:47:11 +0000 (18:47 +0100)
committerIngo Molnar <mingo@elte.hu>
Thu, 26 Feb 2009 17:44:06 +0000 (18:44 +0100)
Impact: implement new tracing timestamp APIs

Add three trace clock variants, with differing scalability/precision
tradeoffs:

 -   local: CPU-local trace clock
 -  medium: scalable global clock with some jitter
 -  global: globally monotonic, serialized clock

Make the ring-buffer use the local trace clock internally.

Acked-by: Peter Zijlstra <peterz@infradead.org>
Acked-by: Steven Rostedt <rostedt@goodmis.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>

No differences found