Re: [PATCH] tracing: erase irqsoff trace with empty write

2017-09-19 Thread Steven Rostedt
On Tue, 19 Sep 2017 10:41:34 -0700 Bo Yan wrote: > Steven, > > Thanks for review. I have posted the following update > > https://lkml.org/lkml/2017/9/18/715 > Yes, I actually applied it. It's pushed to my ftrace/urgent branch, and I'm currently testing it. If/when it passes

Re: [PATCH] tracing: erase irqsoff trace with empty write

2017-09-19 Thread Steven Rostedt
On Tue, 19 Sep 2017 10:41:34 -0700 Bo Yan wrote: > Steven, > > Thanks for review. I have posted the following update > > https://lkml.org/lkml/2017/9/18/715 > Yes, I actually applied it. It's pushed to my ftrace/urgent branch, and I'm currently testing it. If/when it passes I'll be pushing

Re: [PATCH] tracing: erase irqsoff trace with empty write

2017-09-19 Thread Bo Yan
Steven, Thanks for review. I have posted the following update https://lkml.org/lkml/2017/9/18/715 Bo On 09/18/2017 07:38 AM, Steven Rostedt wrote: On Mon, 11 Sep 2017 11:16:35 -0700 Bo Yan wrote: One convenient way to erase trace is "echo > trace". However, this is

Re: [PATCH] tracing: erase irqsoff trace with empty write

2017-09-19 Thread Bo Yan
Steven, Thanks for review. I have posted the following update https://lkml.org/lkml/2017/9/18/715 Bo On 09/18/2017 07:38 AM, Steven Rostedt wrote: On Mon, 11 Sep 2017 11:16:35 -0700 Bo Yan wrote: One convenient way to erase trace is "echo > trace". However, this is currently broken if the

Re: [PATCH] tracing: erase irqsoff trace with empty write

2017-09-18 Thread Steven Rostedt
On Mon, 11 Sep 2017 11:16:35 -0700 Bo Yan wrote: > One convenient way to erase trace is "echo > trace". However, this > is currently broken if the current tracer is irqsoff tracer. This > is because irqsoff tracer use max_buffer as the default trace > buffer. > > Set the

Re: [PATCH] tracing: erase irqsoff trace with empty write

2017-09-18 Thread Steven Rostedt
On Mon, 11 Sep 2017 11:16:35 -0700 Bo Yan wrote: > One convenient way to erase trace is "echo > trace". However, this > is currently broken if the current tracer is irqsoff tracer. This > is because irqsoff tracer use max_buffer as the default trace > buffer. > > Set the max_buffer as the one

[PATCH] tracing: erase irqsoff trace with empty write

2017-09-11 Thread Bo Yan
One convenient way to erase trace is "echo > trace". However, this is currently broken if the current tracer is irqsoff tracer. This is because irqsoff tracer use max_buffer as the default trace buffer. Set the max_buffer as the one to be cleared when it's the trace buffer currently in use.

[PATCH] tracing: erase irqsoff trace with empty write

2017-09-11 Thread Bo Yan
One convenient way to erase trace is "echo > trace". However, this is currently broken if the current tracer is irqsoff tracer. This is because irqsoff tracer use max_buffer as the default trace buffer. Set the max_buffer as the one to be cleared when it's the trace buffer currently in use.