Skip to content

Update Relay ANR profile routing #5730

Description

@linear-code

We need to fix Relay's logic for parsing Android profile chunks that pass through AndroidOrV2ProfileChunk::parse (viz., Android trace profiles and Android ANR profiles). At the moment, that ::parse implementation works only because it's been tailored to the quirks of existing Android trace + ANR profiles. But that special-casing will break once we introduce the updates to ANR billing under #5509.

We need to:

  1. parse Android trace profiles as AndroidProfileChunk based on their payload shape;
  2. parse all ANR profiles as V2ProfileChunk; and
  3. serialize processed Android trace profiles with a new 2.android-trace version.

Item (3) is needed for the shared Perfetto + ANR profiling backend updates. Items (1) and (2) are specific to our ANR profiling billing and deobfuscation improvements.

Metadata

Metadata

Assignees

Fields

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