From 135677a71800c27d7747b5c86712d05a74392f62 Mon Sep 17 00:00:00 2001 From: Brad Fitzpatrick Date: Fri, 16 Apr 2010 16:55:41 -0700 Subject: [PATCH] For userdebug builds, enable Dalvik lock contention sampling. Change-Id: I75cca6fc0ac0d0adfc059a8f82b2f6ae584361f3 --- core/main.mk | 3 +++ 1 file changed, 3 insertions(+) diff --git a/core/main.mk b/core/main.mk index 7553ede6be..014c0501e1 100644 --- a/core/main.mk +++ b/core/main.mk @@ -196,6 +196,9 @@ ifneq (,$(user_variant)) ifeq ($(user_variant),userdebug) # Pick up some extra useful tools tags_to_install += debug + + # Enable Dalvik lock contention logging for userdebug builds. + ADDITIONAL_BUILD_PROPERTIES += dalvik.vm.lockprof.threshold=500 else # Disable debugging in plain user builds. enable_target_debugging :=