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

Commit ee081de9 authored by Kean Mariotti's avatar Kean Mariotti
Browse files

Enable perfetto persistent tracing

Enable go/perfetto-persistent-tracing for eng builds.

Bug: 325622427
Test: adb shell perfetto --query \
    and check the tracing session 'sysui_persistent' started
Change-Id: Ic655eea67c96faf4fbc67bb1da3c359d50a73ccc
parent ced25ac6
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -486,6 +486,11 @@ PRODUCT_COPY_FILES += $(call add-to-product-copy-files-if-exists,\
# Enable dirty image object binning to reduce dirty pages in the image.
PRODUCT_PACKAGES += dirty-image-objects

# Enable go/perfetto-persistent-tracing for eng builds
ifneq (,$(filter eng, $(TARGET_BUILD_VARIANT)))
    PRODUCT_PRODUCT_PROPERTIES += persist.debug.perfetto.persistent_sysui_tracing_for_bugreport=1
endif

$(call inherit-product, $(SRC_TARGET_DIR)/product/runtime_libart.mk)

# Ensure all trunk-stable flags are available.