~nathwill-deactivatedaccount-deactivatedaccount/ubuntu/precise/unity/lp-972247

Viewing all changes in revision 45.

  • Committer: Gordon Allott
  • Date: 2009-12-18 11:42:37 UTC
  • mfrom: (44.1.8 unity.instrumented)
  • Revision ID: mail@gordallott.com-20091218114237-iol6shag1dh3ruvz
Adds instrumentation and bootcharting support to unity

Instrumentation is enabled by passing --enable-testing to configure and
logging is enabled by passing --enable-boot-logging=foobar.log to unity.

you can then process the log file with ./tools/makebootchart.py --input=foobar.log --output=foobar.svg

instrumenting the code is enabled by decorating a function with START_FUNCTION (); and END_FUNCTION (); or by decorating a smaller process with LOGGING_START_PROCESS (process_name); and LOGGING_END_PROCESS (process_name);

all process names *must* be unique thoughout the system

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: