tracing_perfetto_sdk_schema

Module trace_config

Source
Expand description

Nested message and enum types in TraceConfig.

Modules§

Structs§

  • Android-only. Not for general use. If set, reports the trace to the Android framework. This field is read by perfetto_cmd, rather than the tracing service. This field must be set when passing the –upload flag to perfetto_cmd.
  • Config for disabling builtin data sources in the tracing service.
  • If set, delays the start of tracing by a random duration. The duration is chosen from a uniform distribution between the specified minimum and maximum. Note: this delay is implemented by perfetto_cmd not by traced so will not work if you communicate with traced directly over the consumer API. Introduced in Android T.
  • Contains flags which override the default values of the guardrails inside Perfetto.
  • Android-only. Not for general use. If set, saves the trace into an incident. This field is read by perfetto_cmd, rather than the tracing service. This field must be set when passing the –upload flag to perfetto_cmd.
  • Configuration for trace contents that reference earlier trace data. For example, a data source might intern strings, and emit packets containing {interned id : string} pairs. Future packets from that data source can then use the interned ids instead of duplicating the raw string contents. The trace parser will then need to use that interning table to fully interpret the rest of the trace.
  • When non-empty, ensures that for a each semaphore named name at most max_other_session_count`` other sessions (whose value is taken of the minimum of all values specified by this config or any already-running session) can be be running.
  • Contains statsd-specific metadata about an alert associated with the trace.
  • When set applies a post-filter to the trace contents using the filter provided. The filter is applied at ReadBuffers() time and works both in the case of IPC readback and write_into_file. This filter can be generated using tools/proto_filter -s schema.proto -F filter_out.bytes or -T filter_out.escaped_string (for .pbtx). See go/trace-filtering for design.
  • Triggers allow producers to start or stop the tracing session when an event occurs.

Enums§