
Hi Simon,
On Tue, Nov 20, 2012 at 6:33 AM, Lee Jones lee.jones@linaro.org wrote:
Boottime is a tool which can be used for full system booting time measurement. Bootloader boot time is passed to the kernel component though ATAGS. The kernel-side driver then uses this information to provide full system boot time diagnostics though debugfs.
Based heavily on the original driver by Jonas Aaberg.
Signed-off-by: Lee Jones lee.jones@linaro.org
Did you take a look at bootstage, which seems at least on the surface to provide a similar mechanism? This passes the information to the kernel through a device tree, or worse case a 'stash area'.
I didn't see this before.
I don't see the kernel counterpart, did it make it upstream?
It was sent upstream, just for a feeler, but before U-Boot support was mainlined and before we had a way to deal with the non-fdt case. That is now implemented and in mainline, although it has not yet gone out in a release (should be Jan 2013). So I was planning to address that again in the kernel at some point.
Well if this does the same job as the boottime implementation, I'll scrap my efforts to upstream it.
By the way, if Wolfgang didn't want these tracepoints in DT, then how was your implementations upstreamed into u-boot?
Kind regards, Lee