Change lmkd defaults for statsd events am: dab3944256

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

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I07d9136c5bb3467f6538b8d91a952d0a32db4fcf
This commit is contained in:
Ioannis Ilkos 2021-01-21 00:58:30 +00:00 committed by Automerger Merge Worker
commit ae7021b38f
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;