From 34b6754f7035f4bbc75a04a4bf8d294ef2b54998 Mon Sep 17 00:00:00 2001 From: Daniel Micay Date: Wed, 10 Apr 2019 17:12:17 -0400 Subject: [PATCH] enable CONFIG_STATS by default for Android The tiny performance cost might as well be accepted now because this will be needed for Android Q. It's also quite possible that some apps make use of the features based on this including malloc_info. --- Android.bp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Android.bp b/Android.bp index e8748fc..ee55c08 100644 --- a/Android.bp +++ b/Android.bp @@ -27,7 +27,7 @@ common_cflags = [ "-DFREE_SLABS_QUARANTINE_RANDOM_LENGTH=32", "-DCONFIG_CLASS_REGION_SIZE=1073741824", // 1GiB "-DN_ARENA=1", - "-DCONFIG_STATS=false", + "-DCONFIG_STATS=true", ] cc_defaults {