mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-26 22:10:52 +01:00
[PR #2244] boot_trace: summarize XMem allocation attribute observations #2247
Labels
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
starred/leonida#2247
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
📋 Pull Request Information
Original PR: https://github.com/ubiquitarianism/leonida/pull/2244
Author: @kirigayakazima
Created: 11/26/2026
Status: 🔄 Open
Base:
main← Head:codex/boot-trace-xmem-attr-samples📝 Commits (1)
51b4428boot_trace: summarize XMem allocation attribute observations📊 Changes
2 files changed (+31 additions, -4 deletions)
View changed files
📝
tests/test_boot_trace.py(+15 -0)📝
tools/boot_trace.py(+16 -4)📄 Description
Claimed in the coordination issue as: BOOT-TRACE-XMEM-ATTR-SAMPLES
What and why
The runtime emits
xmem_attributeswhen it observes allocation parameters. Keep a bounded, validated sample of the API, attribute mask, allocation size and caller in the local report. Counts-only output exposes the total observation count. The synthetic test covers both the sample limit and malformed fields.Tested
Windows, Python 3.14.7. The regression failed on the parent commit and passed with this change.
python -I tests/test_boot_trace.pygit diff --checkand the changed-path no-game-data scan passed.GPUs tested: N/A (synthetic CPU tests).
AI-assisted: Yes.
Checklist
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.