[PR #962] [MERGED] boot_trace: include XMem page observation totals in counts-only JSON (BOOT-TRACE-XMEM-COUNT) #1000

Closed
opened 2026-11-26 20:19:45 +01:00 by 4ld0 · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ubiquitarianism/leonida/pull/962
Author: @TheGeogeo
Created: 11/24/2026
Status: ✅ Merged
Merged: 11/24/2026
Merged by: @QemmHD

Base: main ← Head: fix/boot-trace-xmem-count


📝 Commits (1)

  • 4588385 Count XMem page observations in shareable boot traces

📊 Changes

2 files changed (+14 additions, -0 deletions)

View changed files

📝 tests/test_boot_trace.py (+13 -0)
📝 tools/boot_trace.py (+1 -0)

📄 Description

Claimed in the coordination issue as: BOOT-TRACE-XMEM-COUNT

What and why

Include xmem_physical_pages_count in boot_trace.py --counts-only startup reports. This exposes the same total already used by the text summary, independently of --limit. The report contains the count with no XMem samples or trace fields. A synthetic trace with three observations and a one-sample limit verifies the behavior.

Tested

  • Windows, Python 3.12.4. The new test failed at 1504c1af with a missing xmem_physical_pages_count field.
  • python -I -B tests/test_boot_trace.py: 33 passed.
  • python -I -B tests/test_dev_boot_trace.py: 5 passed.
  • Merged #498 (42041b6b) in an isolated worktree without conflicts and reran python -I -B tests/test_boot_trace.py: 35 passed.
  • git diff --check and python -I -B scripts/check_no_game_data.py tools/boot_trace.py tests/test_boot_trace.py: passed.

GPUs tested: n/a. CPU-only synthetic traces.

AI-assisted: Yes, Codex.

Checklist

  • Based on current main.
  • One topic.
  • No game data, keys, or decryption.
  • Translator contract entry: not applicable.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ubiquitarianism/leonida/pull/962 **Author:** [@TheGeogeo](https://github.com/TheGeogeo) **Created:** 11/24/2026 **Status:** ✅ Merged **Merged:** 11/24/2026 **Merged by:** [@QemmHD](https://github.com/QemmHD) **Base:** `main` ← **Head:** `fix/boot-trace-xmem-count` --- ### 📝 Commits (1) - [`4588385`](https://github.com/ubiquitarianism/leonida/commit/45883852a311d1b5011c3917ed55310899b21264) Count XMem page observations in shareable boot traces ### 📊 Changes **2 files changed** (+14 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `tests/test_boot_trace.py` (+13 -0) 📝 `tools/boot_trace.py` (+1 -0) </details> ### 📄 Description Claimed in the coordination issue as: [BOOT-TRACE-XMEM-COUNT](https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7136704276) ### What and why Include `xmem_physical_pages_count` in `boot_trace.py --counts-only` startup reports. This exposes the same total already used by the text summary, independently of `--limit`. The report contains the count with no XMem samples or trace fields. A synthetic trace with three observations and a one-sample limit verifies the behavior. ### Tested - Windows, Python 3.12.4. The new test failed at `1504c1af` with a missing `xmem_physical_pages_count` field. - `python -I -B tests/test_boot_trace.py`: 33 passed. - `python -I -B tests/test_dev_boot_trace.py`: 5 passed. - Merged #498 (`42041b6b`) in an isolated worktree without conflicts and reran `python -I -B tests/test_boot_trace.py`: 35 passed. - `git diff --check` and `python -I -B scripts/check_no_game_data.py tools/boot_trace.py tests/test_boot_trace.py`: passed. GPUs tested: n/a. CPU-only synthetic traces. AI-assisted: Yes, Codex. ### Checklist - [x] Based on current `main`. - [x] One topic. - [x] No game data, keys, or decryption. - Translator contract entry: not applicable. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
4ld0 2026-11-26 20:19:45 +01:00
Sign in to join this conversation.
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
starred/leonida#1000
No description provided.