Merge "perfetto: add ability to override upload limit flag on debuggable builds" into pi-dev
diff --git a/perfetto.rc b/perfetto.rc
index 23abaf2..8c795ad 100644
--- a/perfetto.rc
+++ b/perfetto.rc
@@ -39,6 +39,12 @@
on property:sys.traced.enable_override=0
setprop persist.traced.enable 0
+on property:debug.atrace.user_initiated=1
+ stop traced_probes
+
+on property:persist.traced.enable=1 && property:debug.atrace.user_initiated=""
+ start traced_probes
+
on property:persist.traced.enable=1
# Trace files need to be:
# - Written by either uid:shell or uid:statsd.