From: Lai Jiangshan <laijs@cn.fujitsu.com>
To: Ingo Molnar <mingo@elte.hu>, Steven Rostedt <rostedt@goodmis.org>,
Frederic Weisbecker <fweisbec@gmail.com>,
LKML <linux-kernel@vger.kernel.org>
Subject: [PATCH 0/3] tracing: block-able ring_buffer consumer
Date: Thu, 27 Aug 2009 11:01:48 +0800 [thread overview]
Message-ID: <4A95F71C.1060607@cn.fujitsu.com> (raw)
The first patch fixes a bug of splice_read for ring_buffer, and makes
rb_get_reader_page() can be easily used by block-able/poll-able codes.
The other patches make consumer block-able and poll-able.
Signed-off-by: Lai Jiangshan <laijs@cn.fujitsu.com>
---
b/include/linux/ftrace.h | 6 ++
b/include/linux/ring_buffer.h | 4 +
b/kernel/timer.c | 2
b/kernel/trace/ring_buffer.c | 29 +++++++------
b/kernel/trace/trace.c | 39 ++++++++++++++++--
include/linux/ring_buffer.h | 3 +
kernel/trace/ring_buffer.c | 89 ++++++++++++++++++++++++++++++++++++++++++
kernel/trace/trace.c | 9 ++++
8 files changed, 163 insertions(+), 18 deletions(-)
next reply other threads:[~2009-08-27 3:03 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-08-27 3:01 Lai Jiangshan [this message]
2009-08-27 3:34 ` [PATCH 0/3] tracing: block-able ring_buffer consumer Steven Rostedt
2009-08-29 5:29 ` Lai Jiangshan
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=4A95F71C.1060607@cn.fujitsu.com \
--to=laijs@cn.fujitsu.com \
--cc=fweisbec@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
--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