mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-26 22:35:52 +01:00
[PR #450] [MERGED] boot_trace: show XMem physical page requests #501
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#501
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/450
Author: @EdenBendheim
Created: 11/24/2026
Status: ✅ Merged
Merged: 11/24/2026
Merged by: @QemmHD
Base:
main← Head:ubiq/boot-trace-xmem-physical-pages📝 Commits (1)
45c99d9boot_trace: show XMem physical page requests📊 Changes
3 files changed (+126 additions, -9 deletions)
View changed files
📝
docs/boot.md(+5 -0)📝
tests/test_boot_trace.py(+78 -4)📝
tools/boot_trace.py(+43 -5)📄 Description
Claim: https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7123160789
What changed
tools/boot_trace.py: Surface the first--limitxmem_physical_pagesobservations in trace order (API, raw0xattribute word, requested page count, caller) in both text and JSON summaries while keeping the full count instartup.kinds["xmem_physical_pages"]. Preserves valid UTF-8 module names (including non-breaking spaces) while rejecting control characters and malformed/out-of-range values (?in text,nullin JSON), and supports--limit 0.tests/test_boot_trace.py: Synthetic tests covering single/multiple observations, trace order,--limittruncation including--limit 0, UTF-8 NBSP callers, and missing/malformed fields.docs/boot.md: Documentsxmem_physical_pagessampling and full-count retention.Testing & Disclosure
gpt-6.2-sol) and reviewed with Codex (gpt-6.2-astra).ubiquitarianism/leonidamain(8f481cf16):test_boot_trace.py(32/32),test_dev_boot_trace.py(5/5),check_no_game_data.py, LF check — all passed.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.