Skip to content

perfetto: Add latched_unsignaled field to SurfaceFrame#5159

Draft
adyabr wants to merge 5 commits intomainfrom
dev/adyabr/latchunsignaled
Draft

perfetto: Add latched_unsignaled field to SurfaceFrame#5159
adyabr wants to merge 5 commits intomainfrom
dev/adyabr/latchunsignaled

Conversation

@adyabr
Copy link
Contributor

@adyabr adyabr commented Mar 17, 2026

This change adds a new boolean field 'latched_unsignaled' to the
ActualSurfaceFrameStart proto message. This allows tracking frames that
were latched by SurfaceFlinger while the buffer was still unsignaled.

The Trace Processor parser is updated to extract this field and add it
as a slice argument, using 'has_' checks to distinguish between the
field being false and not being provided (for older traces).

The field is exposed in the 'actual_frame_timeline_slice' SQL view and
included in the UI frames track schema to be displayed in the details
panel.

Bug: 492301019

This change adds a new boolean field 'latched_unsignaled' to the
ActualSurfaceFrameStart proto message. This allows tracking frames that
were latched by SurfaceFlinger while the buffer was still unsignaled.

The Trace Processor parser is updated to extract this field and add it
as a slice argument, using 'has_' checks to distinguish between the
field being false and not being provided (for older traces).

The field is exposed in the 'actual_frame_timeline_slice' SQL view and
included in the UI frames track schema to be displayed in the details
panel.
@github-actions
Copy link

github-actions bot commented Mar 17, 2026

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant