upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/tests/test_run_gpu_tests_python_assembler.py
diff options
context:
space:
mode:
authorkawaii-shakal <deusex1998@gmail.com>2026-11-25 21:02:02 +0500
committerkawaii-shakal <deusex1998@gmail.com>2026-11-25 21:02:02 +0500
commit9439e6083dd23bce6c8d4021ccc0d3a21644942d (patch)
tree13e58415de73bf65001e57c87419ea84bb2d8331 /tests/test_run_gpu_tests_python_assembler.py
parent71a769d7d85208f86c6e2e50263aca7df1becce9 (diff)
dstorage, fs: LEONIDA_IO_TRACE logs every read the title asks for, flushed as it goes (RT-IO-TRACE)
When a boot stops, the startup trace names the files the title opened, but most of its reading goes through DirectStorage requests and ReadFile on files it opened long before. With LEONIDA_IO_TRACE=<file>, each DirectStorage request (file, offset, sizes, zlib/BCPack, request name) and each ReadFile, ReadFileEx or ReadFileScatter on a disk file (path, offset, size) is one line with the local time. The line is flushed at once into a file shared for reading, so the last reads before a crash are on disk and can be watched while the game runs. Paths are asked of the handle each time, because a handle value is reused after a close. io_trace_test covers positioned, overlapped and reused-handle reads, DirectStorage lines with good and bad name pointers, and pipes being left out. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'tests/test_run_gpu_tests_python_assembler.py')
0 files changed, 0 insertions, 0 deletions