diff options
author | Suren Baghdasaryan <surenb@google.com> | 2018-10-12 11:10:22 -0700 |
---|---|---|
committer | Suren Baghdasaryan <surenb@google.com> | 2018-10-29 16:13:50 +0000 |
commit | 254752c6ddba0e93c51f76c45e713b1c6d1afe80 (patch) | |
tree | e7f708739908a3db3faef06c4976f4e4159a4bb2 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 8c12dcd11a18081b365d81267c3d29f9848222f9 (diff) |
ActivityManager: Add dumpsys command to report number of lmkd kills
Add support for "dumpsys activity lmk" command to report the number
of lmk kills. This change also enables two-way communicatoin between
ActivityManager and lmkd, introduces new LMK_GETKILLCNT command in lmkd
communication protocol and makes writeLmkd function synchronized to
prevent races.
Usage example:
#adb shell dumpsys activity lmk
ACTIVITY MANAGER LMK KILLS (dumpsys activity lmk)
Total number of kills: 55
kills at or below oom_adj 906: 55
kills at or below oom_adj 900: 40
kills at or below oom_adj 800: 38
kills at or below oom_adj 700: 22
kills at or below oom_adj 600: 19
kills at or below oom_adj 500: 18
kills at or below oom_adj 400: 13
kills at or below oom_adj 300: 12
kills at or below oom_adj 200: 10
kills at or below oom_adj 100: 8
kills at or below oom_adj 0: 1
Bug: 117126077
Test: used lmkd_unit_test to verify correct reporting
Change-Id: I71671b59040d670655171dacf4e7615b76398aab
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions