All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 0/7] Bootgraph.pl instrumentation support for UBoot
@ 2011-08-31 22:20 Andrew Murray
  2011-08-31 22:20 ` [U-Boot] [PATCH 1/7] Add bootgraph.pl script for generating a boot graph SVG file Andrew Murray
                   ` (8 more replies)
  0 siblings, 9 replies; 44+ messages in thread
From: Andrew Murray @ 2011-08-31 22:20 UTC (permalink / raw)
  To: u-boot

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.

The patch also includes documentation.

Andrew Murray (7):
  Add bootgraph.pl script for generating a boot graph SVG file
  Add macros for recording init calls during UBoot execution
  Add timing information to printf's for use with bootgraph.pl
  Add bootgraph instrumentation for ARM boards
  Add bootgraph instrumentation for bootm command
  Add bootgraph instrumentation for UBoot commands
  Add documentation for bootgraph.pl

 arch/arm/lib/board.c |   28 +++++---
 common/cmd_bootm.c   |    1 +
 common/console.c     |   12 +++-
 common/main.c        |   19 +++--
 doc/README.bootgraph |   57 +++++++++++++++
 include/common.h     |   23 ++++++
 tools/bootgraph.pl   |  189 ++++++++++++++++++++++++++++++++++++++++++++++++++
 7 files changed, 312 insertions(+), 17 deletions(-)
 create mode 100644 doc/README.bootgraph
 create mode 100755 tools/bootgraph.pl

-- 
1.7.4.1

^ permalink raw reply	[flat|nested] 44+ messages in thread

end of thread, other threads:[~2011-10-06 21:38 UTC | newest]

Thread overview: 44+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-31 22:20 [U-Boot] [PATCH 0/7] Bootgraph.pl instrumentation support for UBoot Andrew Murray
2011-08-31 22:20 ` [U-Boot] [PATCH 1/7] Add bootgraph.pl script for generating a boot graph SVG file Andrew Murray
2011-08-31 22:20 ` [U-Boot] [PATCH 2/7] Add macros for recording init calls during UBoot execution Andrew Murray
2011-08-31 22:50   ` Mike Frysinger
2011-08-31 23:40     ` Andrew Murray
2011-08-31 22:20 ` [U-Boot] [PATCH 3/7] Add timing information to printf's for use with bootgraph.pl Andrew Murray
2011-08-31 22:47   ` Mike Frysinger
2011-08-31 23:30     ` Andrew Murray
2011-08-31 23:38     ` Graeme Russ
2011-08-31 23:42       ` Andrew Murray
2011-09-07 21:10     ` Wolfgang Denk
2011-09-09  0:50       ` Mike Frysinger
2011-09-09  7:00         ` Wolfgang Denk
2011-08-31 22:20 ` [U-Boot] [PATCH 4/7] Add bootgraph instrumentation for ARM boards Andrew Murray
2011-08-31 22:20 ` [U-Boot] [PATCH 5/7] Add bootgraph instrumentation for bootm command Andrew Murray
2011-08-31 22:21 ` [U-Boot] [PATCH 6/7] Add bootgraph instrumentation for UBoot commands Andrew Murray
2011-08-31 22:21 ` [U-Boot] [PATCH 7/7] Add documentation for bootgraph.pl Andrew Murray
2011-08-31 22:47 ` [U-Boot] [PATCH 0/7] Bootgraph.pl instrumentation support for UBoot Mike Frysinger
2011-08-31 23:12   ` Simon Glass
2011-08-31 23:25     ` Andrew Murray
2011-08-31 23:32       ` Graeme Russ
2011-08-31 23:39         ` Simon Glass
2011-08-31 23:53           ` Andrew Murray
2011-09-10 12:40             ` Andrew Murray
2011-09-13  4:34               ` Simon Glass
2011-09-13  5:24                 ` Graeme Russ
2011-09-13 11:52                   ` Simon Glass
2011-09-13 12:01                     ` Graeme Russ
2011-09-13 12:22                       ` Simon Glass
2011-09-10 12:37 ` [U-Boot] [PATCH v2 1/7] Add bootgraph.pl script for generating a boot graph SVG file Andrew Murray
2011-09-10 12:37   ` [U-Boot] [PATCH v2 2/7] Add macros for recording init calls during UBoot execution Andrew Murray
2011-09-10 13:17     ` Andrew Murray
2011-09-18  2:16       ` Mike Frysinger
2011-09-10 12:37   ` [U-Boot] [PATCH v2 3/7] Add timing information to printf's for use with bootgraph.pl Andrew Murray
2011-09-18  2:10     ` Mike Frysinger
2011-09-10 12:37   ` [U-Boot] [PATCH v2 4/7] Add bootgraph instrumentation for ARM boards Andrew Murray
2011-09-18  2:11     ` Mike Frysinger
2011-10-06 21:37     ` Wolfgang Denk
2011-09-10 12:37   ` [U-Boot] [PATCH v2 5/7] Add bootgraph instrumentation for bootm command Andrew Murray
2011-09-10 12:37   ` [U-Boot] [PATCH v2 6/7] Add bootgraph instrumentation for UBoot commands Andrew Murray
2011-09-18  2:11     ` Mike Frysinger
2011-10-06 21:35     ` Wolfgang Denk
2011-09-10 12:37   ` [U-Boot] [PATCH v2 7/7] Add documentation for bootgraph.pl Andrew Murray
2011-10-06 21:38   ` [U-Boot] [PATCH v2 1/7] Add bootgraph.pl script for generating a boot graph SVG file Wolfgang Denk

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.