Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1261050
| From | Steven Rostedt <rostedt@goodmis.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 2/3] ftrace: add ftrace-buffer option |
| Date | 2015-11-03 00:20 +0100 |
| Message-ID | <qqwym-37L-5@gated-at.bofh.it> (permalink) |
| References | <qqw5k-2HW-11@gated-at.bofh.it> <qqw5k-2HW-9@gated-at.bofh.it> <qqwf0-2M7-3@gated-at.bofh.it> <qqwoF-34I-1@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Mon, 2 Nov 2015 23:01:08 +0000 (UTC) Mathieu Desnoyers <mathieu.desnoyers@efficios.com> wrote: > ----- On Nov 2, 2015, at 5:56 PM, rostedt rostedt@goodmis.org wrote: > > > On Mon, 2 Nov 2015 17:42:43 -0500 > > Mathieu Desnoyers <mathieu.desnoyers@efficios.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 needs a more in depth change log. I have no idea why this is > > needed. > > I can do an updated change log. This is needed for the next patch > in this series, which adds tracepoints in the ftrace irqs and preempt > off tracer, so other tracers such as Perf and LTTng can use them. > > > > > Also, the trace_options code have been redesigned, and this won't apply > > to it (see linux-next). > > I can rebase my work on top of linux-next if you are OK with > the general idea. > > > Also, if this is only for irqsoff latency > > tracers, it should be a tracer option, not a global one. > > I've currently only done the irqsoff latency tracer > part, but I'm wondering whether: > > 1- we should make it a irqsoff latency tracer option, > 2- we should keep it as a global ftrace option, and apply it to > other ftrace tracers as well, > > Thoughts ? > > Tomorrow I'll take a deeper look at patch 3 to try to understand. -- Steve -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH 2/3] ftrace: add ftrace-buffer option Mathieu Desnoyers <mathieu.desnoyers@efficios.com> - 2015-11-02 23:50 +0100
Re: [PATCH 2/3] ftrace: add ftrace-buffer option Steven Rostedt <rostedt@goodmis.org> - 2015-11-03 00:00 +0100
Re: [PATCH 2/3] ftrace: add ftrace-buffer option Mathieu Desnoyers <mathieu.desnoyers@efficios.com> - 2015-11-03 00:10 +0100
Re: [PATCH 2/3] ftrace: add ftrace-buffer option Steven Rostedt <rostedt@goodmis.org> - 2015-11-03 00:20 +0100
csiph-web