Skip to content

Avoid manual Perfetto trace generation #729

@alllex

Description

@alllex

Trace Converter currently uses hand-rolled integration with Protobuf, allowing it to write Gradle's build operation traces in Perfetto format.

However, the current implementation requires non-trivial setup, including a large amount of Protobuf schemas to be present.

This complexity can be abstracted away by using dedicated libraries like androidx.tracing


There was an initially attempt of experimentally integrating this directly into Gradle, and it might be useful as a reference:

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions