summaryrefslogtreecommitdiff
path: root/boottime_tools
AgeCommit message (Collapse)Author
2021-11-04bootznalyze bug fix and minor improvementsKeun young Park
- should decode with utf8 for all string from shell command - remove dependency on kernel start time in logcat as boot complete is enough with auto time update disabled. - expand launcher match string Bug: 198205714 Bug: 204450693 Test: ./system/extras/boottime_tools/bootanalyze/bootanalyze.py -c ./system/extras/boottime_tools/bootanalyze/config.yaml -r -n 2 -t -v Change-Id: I25ccc81baa06cadc9390d1f948ecb0fe74302599
2021-11-03make bootanalyze more robustKeun young Park
- handles adb hangup during boot up : can handle problematic devices better - run kernel dmesg under separate thread and reduces chances for losing kernel log Bug: 204450693 Test: ./system/extras/boottime_tools/bootanalyze/bootanalyze.py -c ./system/extras/boottime_tools/bootanalyze/config.yaml -r -n 10 -t -v Change-Id: I7a467e9a85464e1caf82f718b21d4ca99adee745
2021-02-19[LSC] Add LOCAL_LICENSE_KINDS to system/extrasBob Badour
Added SPDX-license-identifier-Apache-2.0 to: alloc-stress/Android.bp app-launcher/Android.bp boot_control_copy/Android.bp bootctl/Android.bp boottime_tools/bootanalyze/stressfs/Android.bp boottime_tools/bootio/Android.bp brillo_config/Android.mk checkpoint_gc/Android.bp cppreopts/Android.bp crypto-perf/Android.bp ext4_utils/Android.bp ext4_utils/Android.mk f2fs_utils/Android.bp ioblame/Android.bp ioshark/Android.bp iotop/Android.bp kexec_tools/Android.bp latencytop/Android.bp libfec/Android.bp libfec/test/Android.bp libfscrypt/Android.bp libfscrypt/tests/Android.bp libjsonpb/parse/Android.bp libjsonpb/verify/Android.bp memory_replay/Android.bp memtrack/Android.bp mmap-perf/Android.bp module_ndk_libs/libnativehelper/Android.bp multinetwork/Android.bp pagecache/Android.bp partition_tools/Android.bp partition_tools/aidl/Android.bp perf2cfg/Android.bp postinst/Android.bp preopt2cachename/Android.bp profcollectd/Android.bp profcollectd/libprofcollectd/Android.bp profcollectd/libprofcollectd/bindings/libflags/Android.bp pssbench/Android.mk puncture_fs/Android.bp runconuid/Android.bp sane_schedstat/Android.bp showslab/Android.bp simpleperf/Android.bp simpleperf/runtest/Android.bp simpleperf/scripts/inferno/Android.bp simpleperf/simpleperf_app_runner/Android.bp slideshow/Android.mk sound/Android.bp squashfs_utils/Android.bp su/Android.mk taskstats/Android.bp tests/Android.bp tests/audio/alsa/Android.bp tests/binder/benchmarks/Android.bp tests/bootloader/Android.mk tests/cpueater/Android.bp tests/crypto/Android.bp tests/directiotest/Android.bp tests/ext4/Android.mk tests/framebuffer/Android.bp tests/fstest/Android.bp tests/icachetest/Android.bp tests/iptables/qtaguid/Android.bp tests/kernel.config/Android.mk tests/lib/Android.bp tests/lib/testUtil/Android.bp tests/memeater/Android.mk tests/pagingtest/Android.mk tests/pftest/Android.bp tests/schedtest/Android.bp tests/storage/Android.bp tests/suspend_stress/Android.bp tests/tcp_nuke_addr/Android.bp tests/timetest/Android.bp tests/uevents/Android.bp toolchain-extras/Android.bp vbmeta_tools/Android.bp verity/Android.bp verity/fec/Android.bp zram-perf/Android.bp Added SPDX-license-identifier-Apache-2.0 SPDX-license-identifier-BSD to: cpustats/Android.bp Added SPDX-license-identifier-BSD to: ANRdaemon/Android.bp Bug: 68860345 Bug: 151177513 Bug: 151953481 Test: m all Exempt-From-Owner-Approval: janitorial work Change-Id: Ia559848af903a7b6746d9b12b7de8b83bc57f99d
2021-02-16Revert "[LSC] Add LOCAL_LICENSE_KINDS to system/extras"Bob Badour
This reverts commit 044d055c842a5750359ed71dfe50a6a4bf5f4cc3. Reason for revert: Needs to run as multiple roots. Change-Id: I8e06e7eb19e0f634f52fbd8a1c6662f43e347dd5
2021-02-12[LSC] Add LOCAL_LICENSE_KINDS to system/extrasBob Badour
Added SPDX-license-identifier-Apache-2.0 to: boot_control_copy/Android.bp bootctl/Android.bp boottime_tools/bootanalyze/stressfs/Android.bp boottime_tools/bootio/Android.bp checkpoint_gc/Android.bp cppreopts/Android.bp crypto-perf/Android.bp ext4_utils/Android.bp ext4_utils/Android.mk f2fs_utils/Android.bp ioshark/Android.bp iotop/Android.bp kexec_tools/Android.bp latencytop/Android.bp libfec/Android.bp libfec/test/Android.bp libfscrypt/Android.bp libfscrypt/tests/Android.bp libjsonpb/parse/Android.bp libjsonpb/verify/Android.bp memory_replay/Android.bp memtrack/Android.bp mmap-perf/Android.bp module_ndk_libs/libnativehelper/Android.bp multinetwork/Android.bp pagecache/Android.bp partition_tools/Android.bp perf2cfg/Android.bp postinst/Android.bp preopt2cachename/Android.bp profcollectd/Android.bp profcollectd/libprofcollectd/Android.bp profcollectd/libprofcollectd/bindings/libflags/Android.bp puncture_fs/Android.bp runconuid/Android.bp sane_schedstat/Android.bp showslab/Android.bp simpleperf/Android.bp simpleperf/runtest/Android.bp simpleperf/scripts/inferno/Android.bp simpleperf/simpleperf_app_runner/Android.bp slideshow/Android.mk sound/Android.bp squashfs_utils/Android.bp su/Android.mk taskstats/Android.bp tests/Android.bp tests/audio/alsa/Android.bp tests/binder/benchmarks/Android.bp tests/bootloader/Android.mk tests/cpueater/Android.bp tests/crypto/Android.bp tests/directiotest/Android.bp tests/ext4/Android.mk tests/framebuffer/Android.bp tests/fstest/Android.bp tests/icachetest/Android.bp tests/iptables/qtaguid/Android.bp tests/kernel.config/Android.mk tests/lib/Android.bp tests/lib/testUtil/Android.bp tests/memeater/Android.mk tests/pagingtest/Android.mk tests/pftest/Android.bp tests/schedtest/Android.bp tests/storage/Android.bp tests/suspend_stress/Android.bp tests/tcp_nuke_addr/Android.bp tests/timetest/Android.bp tests/uevents/Android.bp toolchain-extras/Android.bp vbmeta_tools/Android.bp verity/Android.bp verity/fec/Android.bp Added SPDX-license-identifier-Apache-2.0 SPDX-license-identifier-BSD to: cpustats/Android.bp Added SPDX-license-identifier-Apache-2.0 SPDX-license-identifier-BSD legacy_notice to: Android.bp Added SPDX-license-identifier-BSD to: ANRdaemon/Android.bp Added legacy_notice to: alloc-stress/Android.bp app-launcher/Android.bp brillo_config/Android.mk ioblame/Android.bp partition_tools/aidl/Android.bp pssbench/Android.mk zram-perf/Android.bp Bug: 68860345 Bug: 151177513 Bug: 151953481 Test: m all Exempt-From-Owner-Approval: janitorial work Change-Id: Ie7c022a4d7f828a89d0cda663684a497af37006e
2021-01-22Move bootanalyze.py to python3Tom Cherry
And some trivial linter errors Test: run bootanalyze.py Change-Id: I25bffe54d516965efcf4917eb1df0b1bca19fc30
2020-11-06Update bootanalyze configKeun young Park
- add apex and packagemanager timing Bug: 172575422 Test: run bootanalyze Change-Id: I8a5491dfd2aeda197e86ba8d64d751147aab3f23
2020-10-15Add bootanalyze.sh, update readme & fix yaml warningSam Lin
Bug: 171016031 Test: ./system/extras/boottime_tools/bootanalyze/bootanalyze.sh Change-Id: I77c7e96deffa867e8237227925da60fc83ab6d65
2020-06-11Fixing bug in bootanalyze when the event time is 0 am: 9f0e7264b2Jyoti Bhayana
Original change: https://googleplex-android-review.googlesource.com/c/platform/system/extras/+/11829463 Change-Id: I184316e59d9ddafb4f90332046b777fc7c4aaf7c
2020-06-11Fixing bug in bootanalyze when the event time is 0Jyoti Bhayana
Bug:158702468 Test: Run bootanalyze and see there is no error when the event time is 0 Change-Id: If3efa4c33a70cf6168a777f0f442fe1557b600b4
2020-03-24Add an exported flag in manifestAshwini Oruganti
With b/150232615, we will need an explicit value set for the exported flag when intent filters are present, as the default behavior is changing for future versions. This change adds the value reflecting the previous default to the manifest. These changes were made using an automated tool, the xml file may be reformatted slightly creating a larger diff. The only "real" change is the addition of "android:exported" to activities, services, and receivers that have one or more intent-filters. Bug: 150232615 Test: TH Exempt-From-Owner-Approval: mechanical refactoring Change-Id: I273c2fa10b59183a0e3e540fbc2bb6e71fbf28a8
2019-09-05Adapt to google::protobuf::int64 type change and scoped_ptr removalColin Cross
Protobuf 3.9.1 redefines google::protobuf::int64 from long long to int64_t, which is sometimes long and sometimes long long. Use PRId64 to print it. scoped_ptr has been removed, use std::unique_ptr instead. Bug: 117607748 Test: m checkbuild Change-Id: Idfcaba262c27cf2b895a0a6ded8394c8465547e8 Merged-In: Idfcaba262c27cf2b895a0a6ded8394c8465547e8
2019-09-04Adapt to google::protobuf::int64 type change and scoped_ptr removalColin Cross
Protobuf 3.9.1 redefines google::protobuf::int64 from long long to int64_t, which is sometimes long and sometimes long long. Use PRId64 to print it. scoped_ptr has been removed, use std::unique_ptr instead. Bug: 117607748 Test: m checkbuild Exempt-From-Owner-Approval: approved at https://android-review.googlesource.com/q/Idfcaba262c27cf2b895a0a6ded8394c8465547e8 Change-Id: Idfcaba262c27cf2b895a0a6ded8394c8465547e8
2019-05-10Command-line argument to set logcat buffer sizeChangyeon Jo
Adds new argument to set the size of the log ring buffer. Bug: 132431643 Change-Id: I092924bf16950fede49f35b25dbbea7dfe2c8109 Signed-off-by: Changyeon Jo <changyeon@google.com>
2019-03-28Merge "Convert more of system/extras to Android.bp" am: 0a35afacda am: ↵Dan Willemsen
03cc6a3537 am: 07bcf1a5c3 Change-Id: Iaff58bceea0b9f344cef8422211be668803fd374
2019-03-28Convert more of system/extras to Android.bpDan Willemsen
See build/soong/README.md for more information about Soong. Bug: 122331914 Test: cd system/extras; mma Test: treehugger Change-Id: Ic1cf293df2c848c7476ca93c150106a4a3cd849c
2019-02-22Add dump of long monitor contentionKeun-young Park
- Long monitor contention during boot up affects boot up performance. - Dump long monitor contention over 100ms. Bug: 124950798 Test: python system/extras/boottime_tools/bootanalyze/bootanalyze.py -c system/extras/boottime_tools/bootanalyze/config.yaml -n 10 -r -t Change-Id: I22cc7bc3d19f53acb8e213d9155f6f2390292d92
2019-02-06Fix bootanalyze for car and other timing bugKeun-young Park
- Launcher name covers car launcher - Fix wrong time delta selection for boot complete: Time update right after animation update makes it fail before this fix. Bug: 123958835,120991898 Test: run python system/extras/boottime_tools/bootanalyze/bootanalyze.py -c system/extras/boottime_tools/bootanalyze/config.yaml -r Change-Id: I86c2f6bff288e69eb70516bba206507e1090de4a
2018-10-25Fix variable unpacking mismatch in bootanalyze.pyTom Cherry
Fix for the below mismatch that I've seen in recent boot time runs BootAnimEnd time or BootComplete-kernel not captured in both log, cannot get time diff main() File "system/extras/boottime_tools/bootanalyze/bootanalyze.py", line 123, in main error_time, components_to_monitor) ValueError: need more than 4 values to unpack Test: no unpack mismatch in recent runs Change-Id: I4d39453964b9b4036d6c0aaff6cac1b030865445
2018-09-07bootanalyze: Add SysUI timingWei Wang
Bug: 112049386 Test: bootanalyze.py -r -c system/extras/boottime_tools/bootanalyze/config.yaml -n 10 -g Change-Id: I0a2fcbaaebc3ebbfec399fd3c8a1d977b95f96bb
2018-03-29io_analysis/check_file_read.py: fix typoWei Wang
Bug: 65481007 Test: Build Change-Id: I082bf20e181a19f6f9b7158bb6088af60c123440
2018-03-29Move boottime I/O tools to system/extraWei Wang
Bug: 65481007 Test: Build Change-Id: I6415b210b4acae87f5e97c980a0f032cdc75161e
2018-03-23Move boottime tools to system folderWei Wang
Bug: 65481007 Test: Build Change-Id: I66b280ff4fe06b47084ce4279705582e3d4d0330