Change lmkd defaults for statsd events am: dab3944256 am: ae7021b38f

Original change: https://android-review.googlesource.com/c/platform/system/memory/lmkd/+/1555318

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ia289cf09f63d9d2cc1830b46664d74fb9809c90c
This commit is contained in:
Ioannis Ilkos 2021-01-21 01:17:32 +00:00 committed by Automerger Merge Worker
commit 3236ba21dd
2 changed files with 4 additions and 9 deletions

View File

@ -1,13 +1,8 @@
cc_defaults {
name: "stats_defaults",
product_variables: {
use_lmkd_stats_log: {
cflags: [
"-DLMKD_LOG_STATS"
],
},
},
cflags: [
"-DLMKD_LOG_STATS"
],
}
cc_binary {

View File

@ -34,7 +34,7 @@
#define STRINGIFY(x) STRINGIFY_INTERNAL(x)
#define STRINGIFY_INTERNAL(x) #x
static bool enable_stats_log = property_get_bool("ro.lmk.log_stats", false);
static bool enable_stats_log = property_get_bool("ro.lmk.log_stats", true);
struct proc {
int pid;