[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <671305361.148742.1448369404193.JavaMail.zimbra@efficios.com>
Date: Tue, 24 Nov 2015 12:50:04 +0000 (UTC)
From: Mathieu Desnoyers <mathieu.desnoyers@...icios.com>
To: rostedt <rostedt@...dmis.org>
Cc: linux-kernel@...r.kernel.org, Thomas Gleixner <tglx@...utronix.de>,
Ingo Molnar <mingo@...hat.com>,
Peter Zijlstra <peterz@...radead.org>
Subject: Re: [PATCH 2/3] ftrace: add ftrace-buffer option
----- On Nov 23, 2015, at 4:46 PM, rostedt rostedt@...dmis.org wrote:
> On Mon, 2 Nov 2015 17:42:43 -0500
> Mathieu Desnoyers <mathieu.desnoyers@...icios.com> wrote:
>
>> In order to use ftrace tracers to generate tracepoints without doing
>> tracing to its own hardcoded ring buffers, add a ftrace-buffer option
>> (default: 1). When set to 0, it disables tracing into the ftrace
>> hardcoded buffers.
>>
>
> This should be a tracer specific option. And it shouldn't be called
> "ftrace-buffer" as that is a very confusing name.
>
> Perhaps I can add an option that will prevent the snapshots as well.
> Perhaps an option called "quiet", and a "no_snapshot" one too. I can
> create the no snapshot one. But this should be converted to "quiet" and
> added as a tracer specific option.
Sure, I can add the "quiet" option to the irqsoff/irqspreemptoff
tracers if that's the route you recommend,
Thanks!
Mathieu
>
> -- Steve
>
>
>> Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@...icios.com>
>> CC: Thomas Gleixner <tglx@...utronix.de>
>> CC: Steven Rostedt <rostedt@...dmis.org>
>> CC: Ingo Molnar <mingo@...hat.com>
>> CC: Peter Zijlstra <peterz@...radead.org>
>> ---
>> kernel/trace/trace.c | 4 +++-
>> kernel/trace/trace.h | 1 +
>> kernel/trace/trace_irqsoff.c | 19 +++++++++++--------
> > 3 files changed, 15 insertions(+), 9 deletions(-)
--
Mathieu Desnoyers
EfficiOS Inc.
http://www.efficios.com
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists