lkml.org 
[lkml]   [2013]   [Aug]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 2/3] tracing: Fix reset of time stamps during trace_clock changes
From
Date
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.

Thanks,

-- Steve




\
 
 \ /
  Last update: 2013-08-03 04:01    [W:0.034 / U:0.256 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site