From: "Frédéric Weisbecker" <fweisbec@gmail.com>
To: Ingo Molnar <mingo@elte.hu>
Cc: linux-kernel@vger.kernel.org
Subject: [Patch -tip 2/3] Tracing/ftrace: Don't consume unhandled entries by boot tracer
Date: Thu, 25 Sep 2008 13:25:30 +0100 [thread overview]
Message-ID: <48DB833A.9010103@gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 180 bytes --]
When the boot tracer can't handle an entry output, it returns 1.
It should return 0 to relay on other output functions.
Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
--
[-- Attachment #2: 2.diff --]
[-- Type: text/plain, Size: 461 bytes --]
diff --git a/kernel/trace/trace_boot.c b/kernel/trace/trace_boot.c
index c65ef8f..d5c9e2e 100644
--- a/kernel/trace/trace_boot.c
+++ b/kernel/trace/trace_boot.c
@@ -47,7 +47,7 @@ static void boot_trace_ctrl_update(struct trace_array *tr)
static int initcall_print_line(struct trace_iterator *iter)
{
- int ret = 1;
+ int ret = 0;
struct trace_entry *entry = iter->ent;
struct boot_trace *it = &entry->field.initcall;
struct trace_seq *s = &iter->seq;
next reply other threads:[~2008-09-25 11:19 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-25 12:25 Frédéric Weisbecker [this message]
2008-09-25 12:53 ` [Patch -tip 2/3] Tracing/ftrace: Don't consume unhandled entries by boot tracer Ingo Molnar
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=48DB833A.9010103@gmail.com \
--to=fweisbec@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.