platform_system_core/lmkd
Rajeev Kumar 7045003d0d Implement stats logging in LMKD.
It implements logging of following atoms:
  -- LMK_STATE_CHANGED
  -- LMK_KILL_OCCURRED

We would like to gather memory metrics of the process killed by LMKD
because by gathering this info we would be able to analyze and improve
system health by potentially reducing memory footprint of the process.

This feature would be available on production builds.

To know more about this see: http://go/android-p-memory-metrics

Bug: 65738734
Test: Tested manually
Change-Id: I064e0cdcb47c3b4c95d8b8d5654050c9812008d8
2018-02-09 13:07:40 -08:00
..
include lmkd: Introduce liblmkd_utils for communicating with lmkd process 2018-01-31 18:10:49 +00:00
tests lmkd: Implement lmkd-test 2018-01-31 18:11:38 +00:00
Android.bp Implement stats logging in LMKD. 2018-02-09 13:07:40 -08:00
liblmkd_utils.c lmkd: Introduce liblmkd_utils for communicating with lmkd process 2018-01-31 18:10:49 +00:00
lmkd.c Implement stats logging in LMKD. 2018-02-09 13:07:40 -08:00
lmkd.rc Enable hidepid=2 on /proc 2015-11-09 09:08:46 -08:00
OWNERS Add lmkd/OWNERS. 2017-12-08 16:12:58 -08:00
statslog.c Functions to log stats log from LMKD. 2018-01-29 15:18:04 -08:00
statslog.h Implement stats logging in LMKD. 2018-02-09 13:07:40 -08:00