From f0ca96b8d1500fc774feeebd1471ee25648dc4c3 Mon Sep 17 00:00:00 2001 From: Rafal Slawik Date: Thu, 15 Nov 2018 12:58:37 +0000 Subject: [PATCH] Add rss_hmw_reset to system partition rss_hwm_reset is binary that reset RSS high-water mark counters for all currently running processes. It runs in a separate process because it needs dac_override capability. The binary is not a persistent service. It is invoked from a system service by flipping sys.rss_hwm_reset.on property. Bug: 119603799 Test: adb shell ls /system/bin Change-Id: Iee0b54ec6486d8f23048819493f6d710db3feff6 --- target/product/base_system.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/target/product/base_system.mk b/target/product/base_system.mk index 1ac6332e6..e24ace222 100644 --- a/target/product/base_system.mk +++ b/target/product/base_system.mk @@ -219,6 +219,7 @@ PRODUCT_PACKAGES += \ racoon \ recovery-persist \ resize2fs \ + rss_hwm_reset \ run-as \ schedtest \ screencap \