Re: [PATCH v3 -tip 2/4] tracing: replace static old_tracer with strcmp

2012-12-21 Thread Hiraku Toyooka
Hi, (12/21/2012 12:04 PM), Steven Rostedt wrote: On Wed, 2012-12-19 at 16:02 +0900, Hiraku Toyooka wrote: Currently, read functions for trace buffer use static "old_tracer" for detecting changes of current tracer. This is because we can assume that these functions are used from only one file

Re: [PATCH v3 -tip 2/4] tracing: replace static old_tracer with strcmp

2012-12-21 Thread Hiraku Toyooka
Hi, (12/21/2012 12:04 PM), Steven Rostedt wrote: On Wed, 2012-12-19 at 16:02 +0900, Hiraku Toyooka wrote: Currently, read functions for trace buffer use static old_tracer for detecting changes of current tracer. This is because we can assume that these functions are used from only one file

Re: [PATCH v3 -tip 2/4] tracing: replace static old_tracer with strcmp

2012-12-20 Thread Steven Rostedt
On Wed, 2012-12-19 at 16:02 +0900, Hiraku Toyooka wrote: > Currently, read functions for trace buffer use static "old_tracer" > for detecting changes of current tracer. This is because we can > assume that these functions are used from only one file ("trace"). > > But we are adding snapshot

Re: [PATCH v3 -tip 2/4] tracing: replace static old_tracer with strcmp

2012-12-20 Thread Steven Rostedt
On Wed, 2012-12-19 at 16:02 +0900, Hiraku Toyooka wrote: Currently, read functions for trace buffer use static old_tracer for detecting changes of current tracer. This is because we can assume that these functions are used from only one file (trace). But we are adding snapshot feature for

[PATCH v3 -tip 2/4] tracing: replace static old_tracer with strcmp

2012-12-18 Thread Hiraku Toyooka
Currently, read functions for trace buffer use static "old_tracer" for detecting changes of current tracer. This is because we can assume that these functions are used from only one file ("trace"). But we are adding snapshot feature for ftrace, then those functions are called from two files. So

[PATCH v3 -tip 2/4] tracing: replace static old_tracer with strcmp

2012-12-18 Thread Hiraku Toyooka
Currently, read functions for trace buffer use static old_tracer for detecting changes of current tracer. This is because we can assume that these functions are used from only one file (trace). But we are adding snapshot feature for ftrace, then those functions are called from two files. So we