From: Mike Frysinger Date: Wed, 31 Aug 2011 18:47:54 -0400 Subject: [U-Boot] [PATCH 0/7] Bootgraph.pl instrumentation support for UBoot In-Reply-To: <1314829261-13996-1-git-send-email-amurray@theiet.org> References: <1314829261-13996-1-git-send-email-amurray@theiet.org> Message-ID: <201108311847.56266.vapier@gentoo.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Wednesday, August 31, 2011 18:20:54 Andrew Murray wrote: > This patchset introduces the CONFIG_BOOT_TRACE option which provides > support for boot time instrumentation. > > When enabled printf output is prefixed with timing information (similar to > the kernel's CONFIG_PRINTK_TIME option) and additional output is generated > which instruments functions and commands called (much like the kernel's > initcall_debug functionality). > > The kernel's bootgraph.pl script has been ported to render UBoots > instrumented ouptut into a pretty SVG graph. An example of this can be > found here: http://goo.gl/dX8aR - which shows the boot time of a Beagle > board. > > The patch currently provides support for instrumentation of UBoot commands > (e.g. U_BOOT_CMD) for all platforms but only when the HUSH shell is not in > use. Initialisation instrumentation is only limited to the > arch/arm/lib/board.c file at present but can very easily be extended to > other relevant files. i feel like we've had similar ideas tossed around semi-recently. am i just misremembering ? -mike -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: This is a digitally signed message part. Url : http://lists.denx.de/pipermail/u-boot/attachments/20110831/44c7e27b/attachment.pgp