Skip to content

tp: fix manifest offset_ns ignored for snapshot-less proto files - #7876

Merged
LalitMaganti merged 1 commit into
mainfrom
dev/lalitm/manifest-offset-fix
Oct 12, 2026
Merged

LalitMaganti merged 1 commit into
mainfrom
dev/lalitm/manifest-offset-fix

Conversation

@LalitMaganti

@LalitMaganti LalitMaganti commented Oct 9, 2026 •

Copy link
Copy Markdown
Member

A perfetto_manifest clock override adds an edge from the file's source
clock (the named clock, or the file's private TraceFile clock when
pinned) to the reference clock. #6399 dropped setting that clock as the
file's default, so proto files without ClockSnapshots or
timestamp_clock_id never went through the edge and offset_ns was
silently ignored. Restore it, for both the pinned and named-clock forms.

Also reject offset_ns placed inside sync_to instead of ignoring it.

A perfetto_manifest clock override adds an edge from the file's source
clock (the named `clock`, or the file's private TraceFile clock when
pinned) to the reference clock. #6399 dropped setting that clock as the
file's default, so proto files without ClockSnapshots or
timestamp_clock_id never went through the edge and offset_ns was
silently ignored. Restore it, for both the pinned and named-clock forms.

Also reject offset_ns placed inside sync_to instead of ignoring it.
@LalitMaganti
LalitMaganti requested a review from a team as a code owner October 9, 2026 21:09
@LalitMaganti
LalitMaganti added this pull request to stack #7878 October 9, 2026 21:10
@github-actions

github-actions Bot commented Oct 9, 2026

Copy link
Copy Markdown

🎨 Perfetto UI Builds & Tests

@LalitMaganti

Copy link
Copy Markdown
Member Author

@eladalon1983 cc

@LalitMaganti
LalitMaganti merged commit 7472a6d into main Oct 12, 2026
33 of 35 checks passed
@LalitMaganti
LalitMaganti deleted the dev/lalitm/manifest-offset-fix branch October 12, 2026 14:15
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.

2 participants