From 8ce8dc2efac1d181eb22eb3dcd0d578c6ddb6ee0 Mon Sep 17 00:00:00 2001 From: Yao Chen Date: Mon, 13 Nov 2017 20:58:28 -0800 Subject: [PATCH] Set the default ring buffer size for stats log, and set it loggable. Bug: 69323063 Test: manual Change-Id: I19de884927bc4999d503b919d851048609be1470 --- target/product/core_minimal.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/target/product/core_minimal.mk b/target/product/core_minimal.mk index fc9da87fa3..e14de96fd3 100644 --- a/target/product/core_minimal.mk +++ b/target/product/core_minimal.mk @@ -159,5 +159,9 @@ PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \ tombstoned.max_tombstone_count=50 endif +PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \ + ro.logd.size.stats=64K \ + log.tag.stats_log=I + $(call inherit-product, $(SRC_TARGET_DIR)/product/runtime_libart.mk) $(call inherit-product, $(SRC_TARGET_DIR)/product/base.mk)