From: Jon Masters <jonathan@jonmasters.org>
To: Steven Rostedt <rostedt@goodmis.org>
Cc: linux-kernel <linux-kernel@vger.kernel.org>
Subject: Re: [tracing] ring_buffer question
Date: Sun, 17 May 2009 20:39:42 -0400 [thread overview]
Message-ID: <1242607182.6327.8.camel@localhost.localdomain> (raw)
In-Reply-To: <1242594505.6327.3.camel@localhost.localdomain>
On Sun, 2009-05-17 at 17:08 -0400, Jon Masters wrote:
> Is there any reason you can think of why we don't just generalize
> kernel/trace/ring_buffer into kernel/ring_buffer, remove the static
> per_cpu buffer allocation and have this available for non-tracing?
Ignore the latter point - I realize that I can use ring_buffer_alloc,
etc. quite happily. I am doing that now in my smi_detector rewrite. But
I still think the RB is a little too tracing specific - so, perhaps we
can move it out of kernel/trace. I'll write up something once I've
figured out this stuff to go along with the excellent trace docs since
the generic ring buffer implementation is really quite sexy stuff.
[thinking out loud] Does the global disable stuff also disable other
non-tracing ring buffers?
Jon.
next prev parent reply other threads:[~2009-05-18 0:42 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-05-17 21:08 [tracing] ring_buffer question Jon Masters
2009-05-18 0:39 ` Jon Masters [this message]
2009-05-18 15:58 ` David Smith
2009-05-18 16:23 ` Steven Rostedt
2009-05-18 16:52 ` David Smith
2009-05-18 17:03 ` Steven Rostedt
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1242607182.6327.8.camel@localhost.localdomain \
--to=jonathan@jonmasters.org \
--cc=linux-kernel@vger.kernel.org \
--cc=rostedt@goodmis.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox