Add a field to the TraceConfig that allows users to activate triggers.

As we are to late in the cycle to change certain systems add a 'special'
case field that allows a config to be reused as if the user had invoked
--triggers from the commandline client.

Bug: 128966650
Change-Id: Iad97268ea7ae78080f7fb1a79a7c856fb13b46e7
diff --git a/protos/perfetto/trace/perfetto_trace.proto b/protos/perfetto/trace/perfetto_trace.proto
index 2c49b02..9b2a2f3 100644
--- a/protos/perfetto/trace/perfetto_trace.proto
+++ b/protos/perfetto/trace/perfetto_trace.proto
@@ -3601,6 +3601,12 @@
     optional uint32 trigger_timeout_ms = 3;
   }
   optional TriggerConfig trigger_config = 17;
+
+  // When this is non-empty the perfetto command line tool will ignore the rest
+  // of this TraceConfig and instead connect to the perfetto service as a
+  // producer and send these triggers, potentially stopping or starting traces
+  // that were previous configured to use a TriggerConfig.
+  repeated string activate_triggers = 18;
 }
 
 // End of protos/perfetto/config/trace_config.proto