Skip to content

Inconsistent classification of in-app frames for iOS profiles #79

Description

@noahsmartin

Sometimes iOS profiles will label frames in the Sentry SDK as "application" and other times they will be "system". I'd expect the same code is always attributed the same way.

labeled as system:
Image

labeled as application:
Image

The problem seems to stem from an override that gets applied to frame classification when the symbol is in Sentry.framework, which only applies when using certain package managers that add Sentry as a dynamic framework instead of static. When it's added as a static framework this override does not kick in. More details in: #78

One fix for this could be to remove this override and always classify it as application, then we would be consistent, but in general with profiling the sentry SDK tends to get classified as system not application so that would introduce a new bug.

Example profile: https://sentry-sdks.sentry.io/insights/summary/profiles/?project=5428557&query=Noah3&statsPeriod=30d&transaction=Noah3%20Transaction

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels
    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