16 Sep, 2009
1 commit
-
The prev_trace_clock_time is only read or written to when the
trace_clock_lock is taken. For better perfomance, they
should share the same cache line.Reported-by: Peter Zijlstra
Signed-off-by: Steven Rostedt
23 Mar, 2009
1 commit
-
Impact: cleanup.
This patch fixes the following sparse warnings:
kernel/trace/trace.c:385:9: warning: symbol 'trace_seq_to_buffer' was
not declared. Should it be static?kernel/trace/trace_clock.c:29:13: warning: symbol 'trace_clock_local'
was not declared. Should it be static?kernel/trace/trace_clock.c:54:13: warning: symbol 'trace_clock' was not
declared. Should it be static?kernel/trace/trace_clock.c:74:13: warning: symbol 'trace_clock_global'
was not declared. Should it be static?Signed-off-by: Dmitri Vorobiev
LKML-Reference:
Signed-off-by: Ingo Molnar
11 Mar, 2009
1 commit
-
Using the function_graph tracer in recent kernels generates a spew of
preemption BUGs. Fix this by not requiring trace_clock_local() users
to disable preemption themselves.Signed-off-by: Peter Zijlstra
Cc: Steven Rostedt
Cc: Frederic Weisbecker
Signed-off-by: Ingo Molnar
27 Feb, 2009
1 commit
-
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 clockMake the ring-buffer use the local trace clock internally.
Acked-by: Peter Zijlstra
Acked-by: Steven Rostedt
Signed-off-by: Ingo Molnar