diff options
author | Suren Baghdasaryan | 2018-06-19 20:38:12 -0500 |
---|---|---|
committer | Suren Baghdasaryan | 2018-08-03 11:06:54 -0500 |
commit | ce13cb52fe7e64a74b79a164cd7953db32a95983 (patch) | |
tree | 3f4861856683e6c0ddac7cebaedca1d6b09b39c7 /Android.bp | |
parent | a02ca9e7ae2706d8c82759829ffe9c96e87d7adf (diff) | |
download | platform-system-core-ce13cb52fe7e64a74b79a164cd7953db32a95983.tar.gz platform-system-core-ce13cb52fe7e64a74b79a164cd7953db32a95983.tar.xz platform-system-core-ce13cb52fe7e64a74b79a164cd7953db32a95983.zip |
lmkd: Disable memory.stat usage when per-application memcgs are not used
Per-application memory.stat files are not available when per-application
memcgs are not used (per_app_memcg=false). Disable its usage based on
ro.config.per_app_memcg property.
minchan:
* correct indentation of memory_stat_parse
* move per_app_memcg check into memory_stat_parse inside
* change low_ram_device to per_app_memcg
Bug: 110384555
Test: manual test to see lkmd log message with memory hogger
Merged-In: Ib6dd7586d3ef1c64cb04d16e2d2b21fa9c8e6a3a
Change-Id: Ib6dd7586d3ef1c64cb04d16e2d2b21fa9c8e6a3a
Signed-off-by: Minchan Kim <minchan@google.com>
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
Diffstat (limited to 'Android.bp')
0 files changed, 0 insertions, 0 deletions