Skip to content

Profiler samples are re-anchored once at profile end #5581

@runningcode

Description

@runningcode

Audit finding C1 — theoretical, LOW-MEDIUM.

AndroidProfiler computes timestampDiff (the elapsedRealtime↔wall offset) once at profile end and applies it to every wall-stamped PerformanceCollectionData sample (sentry-android-core/src/main/java/io/sentry/android/core/AndroidProfiler.java:309-324). A wall step during the profile shifts all earlier CPU/memory samples relative to the trace.

Source: JAVA-557 §C1.

Metadata

Metadata

Assignees

No one assigned
    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