Files
Linux/kernel/trace
Alexander Z Lam 9457158bbc tracing: Fix reset of time stamps during trace_clock changes
Fixed two issues with changing the timestamp clock with trace_clock:

 - The global buffer was reset on instance clock changes. Change this to pass
   the correct per-instance buffer
 - ftrace_now() is used to set buf->time_start in tracing_reset_online_cpus().
   This was incorrect because ftrace_now() used the global buffer's clock to
   return the current time. Change this to use buffer_ftrace_now() which
   returns the current time for the correct per-instance buffer.

Also removed tracing_reset_current() because it is not used anywhere

Link: http://lkml.kernel.org/r/[email protected]

Cc: Vaibhav Nagarnaik <[email protected]>
Cc: David Sharp <[email protected]>
Cc: Alexander Z Lam <[email protected]>
Cc: [email protected] # 3.10
Signed-off-by: Alexander Z Lam <[email protected]>
Signed-off-by: Steven Rostedt <[email protected]>
2013-08-02 22:40:09 -04:00
..
2013-05-03 19:24:17 -04:00
2013-07-24 11:22:53 -04:00