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.
This commit is contained in:
Daniel Micay 2019-04-10 17:12:17 -04:00
parent d4b8fee1c4
commit 34b6754f70

View File

@ -27,7 +27,7 @@ common_cflags = [
"-DFREE_SLABS_QUARANTINE_RANDOM_LENGTH=32", "-DFREE_SLABS_QUARANTINE_RANDOM_LENGTH=32",
"-DCONFIG_CLASS_REGION_SIZE=1073741824", // 1GiB "-DCONFIG_CLASS_REGION_SIZE=1073741824", // 1GiB
"-DN_ARENA=1", "-DN_ARENA=1",
"-DCONFIG_STATS=false", "-DCONFIG_STATS=true",
] ]
cc_defaults { cc_defaults {