No description
Find a file
Tej Singh fe3e762b6d Fix performance degradation from BootSequence atom
Adding the boot sequence reported atom in ag/3518079 caused the duration
of bootstat to increase, as seen in b/72864061. I isolated the cause
down to calling BootReasonStrToReason. However, this function also gets
called in ReportBootReason, so I created another function that does the
parsing and sets the system boot reason property, and made
RecordBootReason and statsd logging get that property.

Bug: 72864061
Test: rebooted phone, verified boot events were received in adb shell
logcat -b stats and verified adb shell bootstat -p printed correct
values. Ran timing tests as well on walleye with 20 boots: before this
change, the average was ~150-160ms. After, it was ~80ms.

Change-Id: I92dbc9880328835647be7d9d50c7861b42f27bdb
2018-02-12 21:42:29 +00:00
adb Merge changes I877b8027,I469bd931 am: 8848052c9f am: 99500f1e3b 2018-01-31 21:52:21 +00:00
adf Merge "Add OWNERS." am: 3289b9c928 am: 515c8fe572 2017-12-08 01:29:20 +00:00
base base: adb.exe build error 2018-02-05 09:33:10 -08:00
bootstat Fix performance degradation from BootSequence atom 2018-02-12 21:42:29 +00:00
cpio Possible null pointer miss on realloc 2017-03-23 22:41:14 +01:00
debuggerd Add extra frame when dex_pc is non-zero. 2018-01-23 13:17:48 -08:00
demangle Add OWNERS. 2017-12-07 13:30:03 -08:00
fastboot Merge "Fix fastboot memory corruption." 2018-01-19 22:39:14 +00:00
fs_mgr Merge "Use vold's mount with metadata encryption service." am: 4819edf4fc am: fcc1db2189 2018-02-02 14:41:34 +00:00
gatekeeperd Revert "Add UID parameter to authentication token" 2018-01-30 15:31:32 +00:00
healthd healthd: Remove access to /sys/class/power_supply/battery/batt_vol and batt_temp 2018-02-01 13:51:04 -08:00
include Move android_filesystem_config.h => fs_config.h 2017-08-02 16:31:19 -07:00
init Add support for non-partitioned devices for system 2018-02-06 06:34:40 +00:00
libappfuse Merge "Add OWNERS." 2017-12-07 23:21:26 +00:00
libasyncio Use -Werror in system/core 2017-11-01 11:32:55 -07:00
libbacktrace Load dex files from ART-specific data structure. 2018-02-02 15:03:00 -08:00
libbinderwrapper libbinderwrapper: Android.mk -> Android.bp 2017-04-25 15:55:26 -07:00
libcrypto_utils Mark the modules as VNDK in Android.bp 2017-09-14 08:35:16 +00:00
libcutils Merge "libcutils: Add "daemon" and "bin" users for testing only" am: 718899b415 am: 2500e38093 2018-02-06 04:29:47 +00:00
libdiskconfig Rename target.linux[_x86[_64]] to target.linux_glibc[_x86[_64]] 2017-10-02 10:44:29 -07:00
libgrallocusage Use -Werror in system/core 2017-11-01 11:32:55 -07:00
libion Merge "libion: Adapt to new ION interface" 2017-09-21 01:06:32 +00:00
libkeyutils Add libkeyutils. 2017-05-10 10:40:11 -07:00
liblog Doxygen format <android/log.h>. 2018-01-26 10:57:57 -08:00
libmemtrack Add OWNERS. 2017-12-07 13:30:03 -08:00
libmemunreachable Add OWNERS. 2017-12-07 13:30:03 -08:00
libmetricslogger Add OWNERS. 2017-12-07 13:30:03 -08:00
libnativebridge Add OWNERS. 2017-12-07 13:30:03 -08:00
libnativeloader Don't shared oem-defined libs to vendor apks 2018-01-15 22:08:21 +09:00
libnetutils Merge "Add OWNERS." am: 3289b9c928 2017-12-07 23:51:13 +00:00
libpackagelistparser Use -Werror in system/core 2017-11-01 11:32:55 -07:00
libpixelflinger MIPS[64]: codeflinger: Fix build due to unused variable warnings 2017-11-06 16:38:49 +01:00
libprocessgroup Add memcg related configs to init. 2017-07-18 15:58:40 -07:00
libprocinfo Add OWNERS. 2017-12-07 13:30:03 -08:00
libqtaguid Redirect qtaguid native call to netd fwmark client 2017-11-09 18:02:22 -08:00
libsparse Merge "<stdbool.h> not necessary in C++." 2017-10-17 19:26:53 +00:00
libsuspend Add force_suspend function 2018-01-19 12:30:39 -08:00
libsync Merge "libsync: Add fence info tests" 2017-09-26 23:46:32 +00:00
libsystem Merge "Add a graphics owner for graphics.h." am: 3303c5d520 am: ca8ffc893b 2018-01-25 01:46:19 +00:00
libsysutils Don't complain that the DNSSL RA option is "unknown". 2017-11-28 06:42:04 +00:00
libunwindstack Merge "Fix in-memory loading of cdex files with shared data." 2018-02-06 11:00:31 +00:00
libusbhost usblib: usb_device_get_string decoding fixes. 2017-12-19 22:20:51 +00:00
libutils libutilscallstack is private VNDK-SP 2018-01-25 14:02:08 +09:00
libvndksupport Add OWNERS. 2017-12-07 13:30:03 -08:00
libziparchive Merge "zip_archive: Fix a few more badly written tests." am: 93d344d98c 2017-12-27 11:47:41 +00:00
lmkd Cleanup zoneinfo parsing function. 2018-01-31 18:13:46 -08:00
logcat Add OWNERS. 2017-12-07 13:30:03 -08:00
logd Merge "Use ro.logd.kernel for kernel logcat" am: d443dd327a am: 66d9c4aab8 2018-01-16 19:01:37 +00:00
logwrapper Add OWNERS. 2017-12-07 13:30:03 -08:00
mkbootimg mkbootimg: use int for os_version and os_patch_level 2016-03-29 16:06:37 -07:00
property_service Introduce property types 2018-01-16 14:44:40 -08:00
qemu_pipe Add OWNERS. 2017-12-07 13:30:03 -08:00
reboot reboot: only pause indefinitely for non-shutdown operations 2017-09-29 16:29:52 +00:00
rootdir Use actual VNDK list for non-VNDK-enforcing devices 2018-02-07 05:36:51 +09:00
run-as run-as: Keep supplementary groups. 2017-09-29 15:34:23 -04:00
sdcard Add support for esdfs mounting 2018-01-19 12:58:42 -08:00
shell_and_utilities Reland: Add getprop to toolbox 2018-01-10 11:26:24 -08:00
storaged health: Modify IHealthInfo Callback interface to return V2.0 HealthInfo 2018-01-18 14:51:26 -08:00
toolbox Build toolbox with _FILE_OFFSET_BITS=64. 2018-01-22 16:15:55 -08:00
trusty Merge "Use correct format specifier" am: 370d2e02e0 am: ef44dd2325 2018-01-03 20:45:03 +00:00
usbd Fix selinux denials for usbd 2018-01-24 00:24:49 +00:00
.clang-format Add a 2 width option of clang format. 2017-03-10 13:01:39 -08:00
.clang-format-2 Only allow short functions in class definitions. 2017-03-28 12:31:37 -07:00
.clang-format-4 Only allow short functions in class definitions. 2017-03-28 12:31:37 -07:00
.gitignore Ignore adb/*.pyc files 2015-08-11 12:59:58 -07:00
Android.bp Export android_filesystem_config.h as a filegroup 2017-01-17 18:20:28 -08:00
Android.mk Remove the simulator target from all makefiles. 2011-07-11 22:12:32 -07:00
CleanSpec.mk Add VNDK version for namespace configuration files 2017-12-13 10:31:04 +09:00
MODULE_LICENSE_APACHE2 auto import from //depot/cupcake/@135843 2013-07-30 13:56:49 -07:00
NOTICE Fix omission in NOTICE file. 2013-07-30 13:56:55 -07:00
OWNERS Add OWNERS. 2017-12-07 13:30:03 -08:00
platform_tools_tool_version.mk Fix warning on the build servers 2017-05-25 12:35:40 -07:00
PREUPLOAD.cfg Add a PREUPLOAD.cfg file to run git-clang-format on every commit 2017-03-08 16:51:26 +08:00