summaryrefslogtreecommitdiff
path: root/ANRdaemon
AgeCommit message (Collapse)Author
2021-11-29Fix name errors in ANRdaemon documentationhongzhu wang
changed "ANRdaemon" to "anrd" Change-Id: Ifbe97aaded0a62cfb0e98a68c79ee7d317d84930
2021-06-22Add license_text required for NOTICE BSD license.Bob Badour
Test: m nothing Bug: 151177513 Change-Id: I796edb3f13854cf2a2482a266143f7cd57fb90a9 Merged-in: I796edb3f13854cf2a2482a266143f7cd57fb90a9
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
2020-10-26ANRdaemon: format filesThiébaud Weksteen
Format *.cpp according to the new .clang-format. The following command was used to generate this change: $ find . \( -name \*.cpp -o -name \*.h \) -exec clang-format \ --style=file -i {} \; Test: mm Bug: 171699326 Change-Id: I883646283dae1bb2bb980700aa38886a5f01b81f
2018-05-04Convert to SoongDan Willemsen
See build/soong/README.md for more information. This effectively moves some of these targets from /system/xbin to /system/bin, as Soong is not supporting xbin. I've attempted to fix and find any external dependencies to these paths. Test: m anrd app-launcher bootctrl.default bootctl cpustats crypto iotop Change-Id: I3eb58d8a260884652b5ee827ac88ece429d76448
2017-10-20Use -Werror in system/extrasChih-Hung Hsieh
* Remove unused variables. * Fix redefined macro warnings. * Fix sign-compare warnings. * Fix 'return false' in main(). * Keep existing warnings to fix later. Bug: 66996870 Test: build with WITH_TIDY=1 Change-Id: Ib92ef5297693595fb84ed4f8e61665bda4cee312
2017-09-07<stdbool.h> not necessary in C++.Elliott Hughes
Bug: N/A Test: builds Change-Id: I02c2619bd5ddcabf19b0fea6845e2ffbe9c9edf6
2016-10-12ANRdaemon: replace sprintf with snprintfWei Wang
Test: run ANRdaemon Change-Id: I1b39647c2ea0a54c90ec210ccb9a14430944e21d
2016-09-08ANRdaemon: fix a bug in handling dump request when trace is running. am: ↵Zhengyin Qian
b403779c94 am: 81f3edcdf1 Change-Id: I6e530a534db44578d83b95b14586d1e04098c541
2016-09-08ANRdaemon: fix a bug in handling dump request when trace is running.Zhengyin Qian
am: b403779c94 Change-Id: Icc5dfd9103191213921b4544f2bfa7e3d187652d
2016-09-07ANRdaemon: fix a bug in handling dump request when trace is running.Zhengyin Qian
Change-Id: I16e2be8b90841eef251c83eda9f71c8e70f519ad
2016-08-11ANRdaemon: Don't leak file in error caseGreg Kaiser
Change-Id: Ie57e06fac90629dfadc04510b2468f17f68fce90
2016-08-09Fix lsof option in anrd script. am: 83208e51daZhengyin Qian
am: 44acf4ec09 Change-Id: Idec364e2ae5e70acca5d8a949ae9d7fd3fe8fabf
2016-08-09Fix lsof option in anrd script.Zhengyin Qian
am: 83208e51da Change-Id: I7a8f5441c41bfca740855bf0a14249e38c7126d1
2016-08-09Fix lsof option in anrd script.Zhengyin Qian
Change-Id: Ib0043c51ed289469dbef33d9333b1e6113c3b23e
2016-08-08Fix missing pipe in ANRdaemon. am: 95c00594e5Nancy Zheng
am: 2061bef855 Change-Id: I9257f9a851e8bcf5969b9df6f798e7ef07728044
2016-08-08Fix missing pipe in ANRdaemon.Nancy Zheng
am: 95c00594e5 Change-Id: I9ec4af8770b8ae5c6ff3d94e6502464ff23a72ee
2016-08-05Fix missing pipe in ANRdaemon.Nancy Zheng
Change-Id: I1322ed51f0f1456ebfb8cbb1404772f7fc2bf840
2016-06-29ANRdaemon: move trace result from /sdcard to /data am: d93aa41807 am: ↵Zhengyin Qian
adfc967454 am: 20e3c1bc94 am: bcbe37b0ee am: 4d3f3e3451 Change-Id: I3f5580e17fccb6dfb62c01f1b20f555fd9b23a59
2016-06-29ANRdaemon: move trace result from /sdcard to /data am: d93aa41807 am: ↵Zhengyin Qian
adfc967454 am: 20e3c1bc94 am: bcbe37b0ee Change-Id: Ib2a3e4969d22f5ea2c046633a81ed322e20d29e1
2016-06-22ANRdaemon: move trace result from /sdcard to /dataZhengyin Qian
Bug: 28765756 Change-Id: Ic9461bc66c8ba4df1455d8b75c4fb6b544d0cf27
2016-06-03fixed typo in ANRdaemon documentationConnor Watts
changed "whe" to "when" Change-Id: Ie9899aa20e684fda7819e92aa0c32b89c5d28017
2016-05-27ANRdaemon: add README and a bash script to easily get trace. am: 9e90477a67 ↵Zhengyin Qian
am: 4b7f0b27a2 am: 27879586ff am: 0827d1d4ee * commit '0827d1d4ee083a7ea6523593ef35bdb26d4d16c3': ANRdaemon: add README and a bash script to easily get trace. Change-Id: If0de17a3ef7007591d61bf769ff102ce3925dfc4
2016-05-27ANRdaemon: add a few new trace options and poke all userland services am: ↵Zhengyin Qian
5b42895d33 am: ecb5849a5d am: 90ce7ac45f am: d4126c6cb4 * commit 'd4126c6cb4102d599d57c3219df964a43cbe9a08': ANRdaemon: add a few new trace options and poke all userland services Change-Id: Ia4abae002bd2e6a97a5ed97df428d3fab2c8dc34
2016-05-27ANRdaemon: increase the CPU threshold resolution to 0.01% am: 6d25c0bd81 am: ↵Zhengyin Qian
c33bbcd4c7 am: 05d982d4ed am: 7ce6c2a6d4 * commit '7ce6c2a6d4acfb747a022029e6372bc4c32fc94e': ANRdaemon: increase the CPU threshold resolution to 0.01% Change-Id: I79fca6b4f279c21e62a4b8833cfa97ae980a71fd
2016-05-26ANRdaemon: add README and a bash script to easily get trace.Zhengyin Qian
Bug: 28989601 Change-Id: I5c9b819a6b05003e68d26bfacccf4c539ddab7ae
2016-05-26ANRdaemon: add a few new trace options and poke all userland servicesZhengyin Qian
Bug: 28989601 Change-Id: Ic0fdb6e0601d5e0a285d42cd9fe1a3d8d6f86286
2016-05-26ANRdaemon: increase the CPU threshold resolution to 0.01%Zhengyin Qian
Bug: 28989601 Change-Id: If2a305bd14e8bd7c22115cbca668bd7777d0e7d2
2016-05-12ANRdaemon: add a few new trace options and poke all userland servicesZhengyin Qian
Change-Id: Ic0fdb6e0601d5e0a285d42cd9fe1a3d8d6f86286
2016-05-12ANRdaemon: add README and a bash script to easily get trace.Zhengyin Qian
Change-Id: I5c9b819a6b05003e68d26bfacccf4c539ddab7ae
2016-05-12ANRdaemon: increase the CPU threshold resolution to 0.01%Zhengyin Qian
Change-Id: If2a305bd14e8bd7c22115cbca668bd7777d0e7d2
2016-02-12Add missing liblog dependencyDimitry Ivanov
Bug: http://b/27171986 Change-Id: I508d3cfbcb9e026b0f4a086fc6dd1adeffbffcc3
2015-07-06Add a system tool - ANRdaemonZhengyin Qian
This is a daemon to help analyze ANR due to CPU starvation by logging system activity before such an event happens. The daemon uses debugfs underlying for logging. Change-Id: I5c7c78e88e1dda9c392502f2a41d1e47f06bb89b