Honoring Asian Pacific American Heritage Month. See how.

fuchsia.tracing.perfetto

Added: 8

PROTOCOLS

ConsumerConnector

Defined in fuchsia.tracing.perfetto/consumer.fidl

Interface for creating connections between Perfetto "Consumers" and a shared Perfetto service. To learn more about Perfetto, see: https://www.perfetto.dev/docs/ and https://perfetto.dev/docs/concepts/service-model .

ConnectConsumer

Connects a Perfetto Consumer to the Perfetto backend. Both sides will communicate over producer_socket using Perfetto's internal wire format. The lifetime of consumer_socket may outlive the connection lifetime of ConsumerConnector. Multiple producers may be connected simultaneously.

Request

NameType
consumer_socket handle<socket>

Response

NameType
result ConsumerConnector_ConnectConsumer_Result

ProducerConnector

Defined in fuchsia.tracing.perfetto/producer.fidl

Interface for creating connections between Perfetto "Producers" and a shared Perfetto service. To learn more about Perfetto, see: https://www.perfetto.dev/docs/ and https://perfetto.dev/docs/concepts/service-model .

ConnnectProducer

Connects a Perfetto Producer to the Perfetto backend. Both sides will communicate over producer_socket using Perfetto's internal wire format. Passing a valid trace_buffer handle will result in trace data being sent over shared memory, which is more efficient than sending data over the socket. The lifetime of producer_socket may outlive the connection lifetime of ProducerConnector. Multiple Producers may be connected simultaneously.

Request

NameType
producer_socket handle<socket>
trace_buffer handle<vmo>

Response

NameType
result ProducerConnector_ConnnectProducer_Result

STRUCTS

ConsumerConnector_ConnectConsumer_Response

Defined in fuchsia.tracing.perfetto/consumer.fidl

<EMPTY>

ProducerConnector_ConnnectProducer_Response

Defined in fuchsia.tracing.perfetto/producer.fidl

<EMPTY>

UNIONS

ConsumerConnector_ConnectConsumer_Result strict

Defined in fuchsia.tracing.perfetto/consumer.fidl

OrdinalVariantTypeDescription
response ConsumerConnector_ConnectConsumer_Response
err zx/status

ProducerConnector_ConnnectProducer_Result strict

Defined in fuchsia.tracing.perfetto/producer.fidl

OrdinalVariantTypeDescription
response ProducerConnector_ConnnectProducer_Response
err zx/status