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:
- parse Android trace profiles as AndroidProfileChunk based on their payload shape;
- parse all ANR profiles as V2ProfileChunk; and
- 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.
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:
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.