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:
commit
ae7021b38f
11
Android.bp
11
Android.bp
|
|
@ -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 {
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue