From: Tony Luck <tony.luck@intel.com>
To: linux kernel <linux-kernel@vger.kernel.org>
Cc: Tim Bird <tim.bird@am.sony.com>
Subject: Re: [PATCH] add timing information to printk messages
Date: Wed, 9 Mar 2005 13:36:05 -0800 [thread overview]
Message-ID: <200503092136.j29La5E26081@unix-os.sc.intel.com> (raw)
> Here's a little patch which is useful for showing timing information for
> kernel bootup activities.
>
> This patch adds a new Kconfig option under "Kernel Hacking" and a new
> option for the kernel command line. It also provides a script for
> showing delta information.
I'm seeing some odd output with CONFIG_PRINTK_TIME=y during boot. When
it is set to "no", I see this from "dmesg":
Total of 4 processors activated (7168.96 BogoMIPS).
CPU0 attaching sched-domain:
domain 0: span f
groups: 1 2 4 8
CPU1 attaching sched-domain:
domain 0: span f
groups: 2 4 8 1
CPU2 attaching sched-domain:
domain 0: span f
groups: 4 8 1 2
CPU3 attaching sched-domain:
domain 0: span f
groups: 8 1 2 4
Setting CONFIG_PRINTK_TIME=y I see (the "<NUL>" pieces are actually
each a single ASCII '\0' character):
[ 0.240887] Total of 4 processors activated (7168.96 BogoMIPS).
[ 0.240926] CPU0 attaching sched-domain:
[ 0.240930] <NUL>PU0 attaching sched-domain:
[ 0.240933] domain 0: span f
[ 0.240967] <NUL> f
[ 0.240969] groups: 1 2 4 8
[ 0.241024] CPU1 attaching sched-domain:
[ 0.241027] <NUL>PU1 attaching sched-domain:
[ 0.241030] domain 0: span f
[ 0.241063] <NUL> f
[ 0.241065] groups: 2 4 8 1
[ 0.241146] CPU2 attaching sched-domain:
[ 0.241149] <NUL>PU2 attaching sched-domain:
[ 0.241151] domain 0: span f
[ 0.241186] <NUL> f
[ 0.241188] groups: 4 8 1 2
[ 0.241267] CPU3 attaching sched-domain:
[ 0.241270] <NUL>PU3 attaching sched-domain:
[ 0.241273] domain 0: span f
[ 0.241307] <NUL> f
[ 0.241309] groups: 8 1 2 4
At first I thought that the lines that begin with whitespace were causing
the confusion, but there are other lines during boot that are ok.
[This is on an ia64 system ... but these messages come from generic kern/sched.c]
-Tony
next reply other threads:[~2005-03-09 21:49 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-03-09 21:36 Tony Luck [this message]
2005-03-09 23:08 ` Tim Bird
2005-03-09 23:50 ` Tim Bird
2005-03-10 9:17 ` Valdis.Kletnieks
-- strict thread matches above, loose matches on Subject: below --
2005-02-14 23:33 Tim Bird
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=200503092136.j29La5E26081@unix-os.sc.intel.com \
--to=tony.luck@intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=tim.bird@am.sony.com \
/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
all inboxes | Powered by JetHome®