Re: [PATCH 2/3] tracing: Fix reset of time stamps duringtrace_clock changes

From: Steven Rostedt
Date: Fri Aug 02 2013 - 21:53:52 EST

On Fri, 2013-08-02 at 18:36 -0700, Alexander Z Lam wrote:
> 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.

The first two patches look to go into 3.11 and 3.10 stable. The removal
below is not urgent, but I can keep it in this patch.

> Also removed tracing_reset_current() because it is not used anywhere

The third patch can wait to 3.12. I'll review it later.


-- Steve

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at