DNM: add debug log function

This commit is contained in:
Francescodario Cuzzocrea 2019-05-18 09:52:56 +02:00
parent fb18fc1de6
commit e386fe0847
3 changed files with 11 additions and 1 deletions

View file

@ -26,6 +26,14 @@ LOCAL_SRC_FILES := init.qcom.rc
LOCAL_MODULE_PATH := $(TARGET_ROOT_OUT)
include $(BUILD_PREBUILT)
include $(CLEAR_VARS)
LOCAL_MODULE := debug_log.sh
LOCAL_MODULE_TAGS := optional eng
LOCAL_MODULE_CLASS := ETC
LOCAL_SRC_FILES := etc/debug_log.sh
LOCAL_MODULE_PATH := $(TARGET_ROOT_OUT)
include $(BUILD_PREBUILT)
include $(CLEAR_VARS)
LOCAL_MODULE := init.qcom.power.rc
LOCAL_MODULE_TAGS := optional eng

View file

@ -74,6 +74,8 @@ on fs
# Kickstart the Wireless subsystem
write /dev/wcnss_wlan 1
/system/bin/sh /system/etc/debug_log.sh
# Adaptive LMK
write /sys/module/lowmemorykiller/parameters/enable_adaptive_lmk 1
write /sys/module/lowmemorykiller/parameters/vmpressure_file_min 53059