tooling: correlate Mesh86 SRV trace evidence #3954
No reviewers
Labels
No labels
accessibility
awaiting author
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
priority: P0
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/R0Y00--Xbox2Windows!3954
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-3952"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@lambirou on GitHub · 2026-12-03 16:53 UTC · original
lambirou:codex/memory-mesh86-trace→main· +995 −0 · 5 files · 2 commits · openProblem
The Mesh86 geometry investigation already emits a material-refusal descriptor and
optional
x2w-mesh86-tracerows, but reviewing a run still requires manuallymatching a guest range to a placement, backing and queue submission. Issue #3765
has a contributor tracing one selected SRV. This change supplies a read-only
analysis companion for that trace and avoids a second runtime claim.
Change
Add
tools/startup/mesh86_trace_report.py. It decodes the raw guest V# printed bythe material trace, finds a covering slot-133 placement, joins writer/fence and
producer/consumer trace rows, and lists missing or ambiguous fields explicitly.
It does not infer a call from line order, and it transforms arbitrary log text
into bounded numeric fields and basenames. Placement selection applies same-file
temporal eligibility and full-range coverage before exact-base preference.
Partial overlaps are diagnostic-only and add
placement-coverageto the missingfields.
Add nine synthetic cases: full correlation, an unrelated placement, a later exact
placement after the descriptor, a partial placement, a view token without a range,
generic placement backing, trace-only selection, an address from the trace, and
invalid CLI input.
Refs #3765.
Validation
The existing
20261203-long-x-win11-amdlog contains no Mesh86 descriptor ortrace-call line. The tool reports those fields as missing, so the real correlation
still needs an instrumented run.
Limits
--call.@R0Y00 on GitHub · 2026-12-03 17:21 UTC · original · requested changes
The seven synthetic report tests and startup_triage_run_check passed on
230cc2fe. Two extra synthetic-log controls show that the placement summary can still report the wrong evidence. An earlier same-file placement that fully covers the descriptor is reported missing when a later exact-base placement follows the descriptor; exact-base preference currently runs before time filtering. A 0x40-byte placement for a 0x80-byte descriptor is displayed as the backing and “missing fields: none,” despite the note that it cannot cover the full range. Please filter by temporal eligibility and full coverage before preferring an exact base, retain partial matches as diagnostics only, and add both controls.230cc2fe62toa1902c7721@lambirou on GitHub · 2026-12-03 17:40 UTC · original
Review feedback addressed in 1902c772. Placement selection now applies same-file temporal eligibility and full-range coverage before exact-base preference. Partial overlaps are diagnostic-only and add placement-coverage to missing fields. The two requested controls are added; the synthetic suite is 9/9 and startup_mesh86_trace_report plus startup_triage_run pass.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.