platform_system_core/rootdir
Yasuhiro Matsuda f93db4b827 Introduce a mechanism to trace boot sequence.
This CL adds a trigger and a service so that Systrace can be used
for tracing events during boot.
persist.debug.atrace.boottrace property is used for switching on
and off tracing during boot. /data/misc/boottrace/categories
file is used for specifying the categories to be traced.
These property and file are rewritten by Systrace when the newly
added option --boot is specified.

Here is an example of tracing events of am and wm catetories
during boot.

$ external/chromium-trace/systrace am wm --boot

This command will cause the device to reboot. Once the device has
booted up, the trace report is created by hitting Ctrl+C.

As written in readme.txt, this mechanism relies on persistent
property, so tracing events that are emitted before that are not
recorded. This is enough for tracing events after zygote is
launched though.
This only works on userdebug or eng build for security reason.

BUG: 21739901
Change-Id: I03f2963d77a678f47eab5e3e29fc7e91bc9ca3a4
2015-07-29 12:53:05 +09:00
..
etc Remove long-obsolete file. 2015-04-23 20:57:12 -07:00
Android.mk rootdir: Create cache folder in Android.mk 2015-07-14 17:18:52 -07:00
init.environ.rc.in SANITIZE_TARGET: set global ASAN_OPTIONS 2015-06-19 11:15:51 -07:00
init.rc Introduce a mechanism to trace boot sequence. 2015-07-29 12:53:05 +09:00
init.trace.rc Introduce a mechanism to trace boot sequence. 2015-07-29 12:53:05 +09:00
init.usb.rc init.usb.rc: Change product id to for add only config 2014-09-05 12:33:46 -07:00
init.zygote32.rc Move zygote init config to its own file. 2014-03-31 12:31:11 +01:00
init.zygote32_64.rc Change app_process reference to app_process32. 2014-05-14 16:41:18 +01:00
init.zygote64.rc Move zygote init config to its own file. 2014-03-31 12:31:11 +01:00
init.zygote64_32.rc Add a zygote 64/32 bit config. 2014-05-21 11:20:42 +01:00
ueventd.rc am 3802b5d4: Merge "rootdir: add pstore" 2015-01-14 17:46:46 +00:00