History log of /system/core/bootstat/boot_event_record_store_test.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
c8ac0677734270f0b12d85ecf23b1de49054890c 14-Feb-2017 James Hawkins <jhawkins@google.com> Revert "bootstat: Refactor init/utils/boot_clock into base/chrono_utils."

This reverts commit 7c92e484503f239000ef97ef5b067907fbeaa4a6.

Mac sdk still broken (despite testing locally).

Change-Id: I7d9206e15997cd0efe081bd3fa17d53d2b20ec32
/system/core/bootstat/boot_event_record_store_test.cpp
7c92e484503f239000ef97ef5b067907fbeaa4a6 14-Feb-2017 James Hawkins <jhawkins@google.com> bootstat: Refactor init/utils/boot_clock into base/chrono_utils.

Use this for bootstat and init. This replaces the custom uptime parser in
bootstat.

This is a reland of aosp/332854 with a fix for Darwin.

Bug: 34352037
Test: chrono_utils_test
Change-Id: Ib2567d8df0e460ab59753ac1c053dd7f9f1008a7
/system/core/bootstat/boot_event_record_store_test.cpp
0e3167e203ae89817cc30ba4a5a2d328716b4826 08-Feb-2017 James Hawkins <jhawkins@google.com> Revert "bootstat: Remove custom uptime parser in favor of elapsedRealtime."

This reverts commit 26f40c04c3ad80e2bc449990010d39d1c1b9a5f0.

This change broke the Darwin SDK target.

Test: none
Change-Id: Ia54fe2c31da8d8fa2825e023b035fb8321dcd457
/system/core/bootstat/boot_event_record_store_test.cpp
26f40c04c3ad80e2bc449990010d39d1c1b9a5f0 06-Feb-2017 James Hawkins <jhawkins@google.com> bootstat: Remove custom uptime parser in favor of elapsedRealtime.

Refactored init/utils/boot_clock into base/chrono_utils.

Bug: 34352037
Test: none
Change-Id: Ied0c00867336b85922369d7ff37520e3d28fc61e
/system/core/bootstat/boot_event_record_store_test.cpp
a51b165c7aa6291ce90cfcc3a0602d6467d48b5d 20-Jan-2017 James Hawkins <jhawkins@google.com> bootstat: Remove debug logging of bootstat_mtime_matches_content.

Bug: 34507152
Test: bootstat_tests
Change-Id: I97f84dd04eb44e6a5d00cf9a2f6b24a5b3e9297f
/system/core/bootstat/boot_event_record_store_test.cpp
2c5d1d7cd914ec8ebf76c8a59d0889ebf5b538cd 28-Mar-2016 Elliott Hughes <enh@google.com> Add operator int() to unique_fd.

Change-Id: I7512559be7befbb8772d5529e06550267a2f1543
/system/core/bootstat/boot_event_record_store_test.cpp
c0dc139b4a311e0c04af5713c064de13da76c354 25-Mar-2016 James Hawkins <jhawkins@google.com> Revert "Revert "bootstat: Handle v1 record files which do not contain file contents.""

This reverts commit 756b6a53a7c473d04dfe1e28b9deaa40a71e5818.

The change is updated to use utimes (instead of futimens) since only
support for seconds resolution is required.

Bug: 27836969
Change-Id: I7134f759fb643e1a149158fcf6e20f76538b57d3
/system/core/bootstat/boot_event_record_store_test.cpp
756b6a53a7c473d04dfe1e28b9deaa40a71e5818 25-Mar-2016 James Hawkins <jhawkins@google.com> Revert "bootstat: Handle v1 record files which do not contain file contents."

Breaks the darwin-x86 build.

This reverts commit 84fda19c835219a320e79680acef059c3ebc2621.

Change-Id: Ia55b5ba756ec2ba4195f493ea505d05f68a9c37e
/system/core/bootstat/boot_event_record_store_test.cpp
84fda19c835219a320e79680acef059c3ebc2621 25-Mar-2016 James Hawkins <jhawkins@google.com> bootstat: Handle v1 record files which do not contain file contents.

Bug: 27836969
Change-Id: I18fcdab7ca32d00af3f8827f42d47868492ed719
/system/core/bootstat/boot_event_record_store_test.cpp
c08e996ac86bc0a27a754c1fddc4bda535f7e49f 11-Mar-2016 James Hawkins <jhawkins@google.com> bootstat: Disambiguate boot time on encrypted devices.

This change introduces new metrics to discern boot time on encrypted devices:
* post_decrypt_time_elapsed
* boot_decryption_complete
* boot_complete_post_decrypt
* boot_complete_no_encryption

Bug: 27497357
Change-Id: I8d3a411029bd6a45f80589ff67c408593e133a87
/system/core/bootstat/boot_event_record_store_test.cpp
500d71566aa74b01fce729205b02a166bcf203f7 17-Feb-2016 James Hawkins <jhawkins@google.com> bootstat: Record metrics for factory_reset and time_since_factory_reset.

Bug: 25448351
Change-Id: I9b3a557317bc256a078f76e2b65d16bc071e4a6a
/system/core/bootstat/boot_event_record_store_test.cpp
a4a1a4ac8556fd9550d5b6c916546519b3641fb0 10-Feb-2016 James Hawkins <jhawkins@google.com> bootstat: Add support for logging the boot_reason metric.

This value is read from the ro.boot.bootreason system property.

Bug: 21724738
Change-Id: I43bef3d85ba9c8d87669a91da1aa675d9a86e348
/system/core/bootstat/boot_event_record_store_test.cpp
6d0d12a9d8fea7569ff1e054365c0fcebdca8f84 20-Jan-2016 James Hawkins <jhawkins@google.com> bootstat: Followup cleanups from the initial bootstat checkin.

* Clarify the README.md that the logs data may be utilized by anyone.
* Fix a whitespace issue.

Bug: 21724738
Change-Id: Id472485f505afb14588ccd645844a3f4a728abc2
/system/core/bootstat/boot_event_record_store_test.cpp
eabe08b55eb7a8eceda02d302cea4d4f216e0d53 20-Jan-2016 James Hawkins <jhawkins@google.com> bootstat: Fix the base includes to be AOSP-friendly.

Change-Id: I625cc55b41f5258addf3bb74bcef42063c565465
Bug: 21724738
/system/core/bootstat/boot_event_record_store_test.cpp
abd73e617970e2e4cb390d5f66cfd0dda57579d8 20-Jan-2016 James Hawkins <jhawkins@google.com> system/core: Add initial implementation of the bootstat command.

The bootstat command enables the measurement and logging of boot time
metrics
for GMS devices.

BUG:21724738
Change-Id: I331456dd38a60fb4ef24a4d5320909dbad30db66
/system/core/bootstat/boot_event_record_store_test.cpp