summaryrefslogtreecommitdiff
path: root/libunwindstack/tests/MemoryCacheTest.cpp
diff options
context:
space:
mode:
authorSuren Baghdasaryan <surenb@google.com>2018-07-26 16:34:27 -0700
committerSuren Baghdasaryan <surenb@google.com>2018-08-10 14:21:31 -0700
commit282ad1a8f94679ffe19f2b38523d922e605fa2b1 (patch)
tree198145c859e2d381ba3c959733ffb69ea544bd12 /libunwindstack/tests/MemoryCacheTest.cpp
parent6d5b9314669853b5f63cbdf40aa37c70c305407c (diff)
lmkd: Add meminfo logging after each kill for easy troubleshooting
While troubleshooting memory pressure related issues it's hard to get a good view of the memory state when lmkd kill happens. Logging relevant information from /proc/meminfo file that was used to make a kill decision is very helpful for further analysis. To do this efficiently we are using Android Logger event library functions and log the data used for kill decision after the kill signal was issued. Test: Run lmkd_unit_test and logcat -b events -v descriptive Change-Id: Id5de41b9d91a04dd5d3eb9b85d4e1babe9755628 Signed-off-by: Suren Baghdasaryan <surenb@google.com>
Diffstat (limited to 'libunwindstack/tests/MemoryCacheTest.cpp')
0 files changed, 0 insertions, 0 deletions