Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 135677a7 authored by Brad Fitzpatrick's avatar Brad Fitzpatrick
Browse files

For userdebug builds, enable Dalvik lock contention sampling.

Change-Id: I75cca6fc0ac0d0adfc059a8f82b2f6ae584361f3
parent fcc7cf77
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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 :=