From: lee.jones@linaro.org (Lee Jones)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] Boottime: A tool for automatic measurement of kernel/bootloader boot time
Date: Tue, 23 Oct 2012 08:19:51 +0100 [thread overview]
Message-ID: <20121023071951.GA2705@gmail.com> (raw)
In-Reply-To: <507C3125.70702@ti.com>
I have a few answers for you.
> >>>>>>root at ME:/ cat /sys/kernel/debug/boottime/bootgraph
> >>>>>>[ 0.185254] calling splash+0x0/0x0
> >>>>>>[ 2.984335] initcall splash+0x0/0x0 returned 0 after 2799 msecs.
> >>>>>>[ 2.984335] calling autoboot_delay+0x0/0x0
> >>>>>>[ 4.089513] initcall autoboot_delay+0x0/0x0 returned 0 after 1105 msecs.
> >>>>>>[ 4.089513] calling load_kernel+0x0/0x0
> >>>>>>[ 4.239174] initcall load_kernel+0x0/0x0 returned 0 after 149 msecs.
> >>>>>>[ 4.239174] calling boot_kernel+0x0/0x0
> >>>>>>[ 4.276260] initcall boot_kernel+0x0/0x0 returned 0 after 37 msecs.
> >>>>>>[ 4.276260] calling uncompress_ll_init+0x0/0x0
> >>>>>>[ 4.276260] initcall uncompress_ll_init+0x0/0x0 returned 0 after 0 msecs.
> >>>>>>[ 4.276260] Freeing init memory: 0K
> OK So has this been validated and tested on any other IC then a ST part?
No, it has not. As I believe I mentioned before, this is a tool
written for and used by ST-Ericsson. Extending it to use on other
platforms sounds like a great idea, but won't be done by
ST-Ericsson due to a lack of hardware and software assets.
> This boottime_activate patch seems to be only for the dbx500. If
> this is supposed to be a generic solution I would expect
> a generic patch for ARM to enable boot time activation.
Apparently a generic boottime extention would be fairly trivial
with the use of ktime_get().
> Have you profiled how much time the boot time logging has added to
> the over all boot?
This has not been completed, but the original author suspects
it would be <100ms.
> Also the boottime commit message should explain a little more what
> it is measuring.
> i.e. This patch enables logging the boot time from point x to point
> y for the kernel only. This does not include init.
> What about adding the boot time from the init sequence to init complete?
This sounds like a good idea, but again won't be extended upon by
us.
It appears that this driver is interesting and possibly very
useful for quite a lot of people out there. This patch should
therefore be seen as the foundations for other to then extend
in the ways alluded to above and ported to work on other more
generic platforms. I think these should be extra patches on
top of the one submitted here.
>From a personal perspective, I am happy to change a few bits
and pieces, but I don't have the time to satisfy all of the
suggestions made, or adapt the driver in any substantial
manor.
--
Lee Jones
Linaro ST-Ericsson Landing Team Lead
Linaro.org ? Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog
prev parent reply other threads:[~2012-10-23 7:19 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-10-11 14:42 [PATCH] Boottime: A tool for automatic measurement of kernel/bootloader boot time Lee Jones
2012-10-11 15:24 ` Christian Gmeiner
2012-10-11 15:36 ` Lee Jones
2012-10-11 20:17 ` Nishanth Menon
2012-10-12 9:37 ` Lee Jones
2012-10-12 9:51 ` Lee Jones
2012-10-12 13:35 ` Dan Murphy
2012-10-12 13:45 ` Lee Jones
2012-10-12 13:48 ` Russell King - ARM Linux
2012-10-12 13:53 ` Arnd Bergmann
2012-10-12 14:01 ` Lee Jones
2012-10-12 16:36 ` Dan Murphy
2012-10-12 16:42 ` Lee Jones
2012-10-15 15:52 ` Dan Murphy
2012-10-16 7:34 ` Lee Jones
2012-10-23 7:19 ` Lee Jones [this message]
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=20121023071951.GA2705@gmail.com \
--to=lee.jones@linaro.org \
--cc=linux-arm-kernel@lists.infradead.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;
as well as URLs for NNTP newsgroup(s).