Repository navigation
Conversation
XCL_RUN_SECONDS, XCL_ACTIVITY, XCL_THREAD_DUMP_AT, XCL_TRACE_FAULTS, XCL_TRACE_MEM, XCL_TRACE_IMPORTS and XCL_D3D12_TRACE are read by the runtime and used in bug reports and in the issue threads, and none of them was in the README. Each entry says what lands in xcl.log and what the accepted values are, as read from the code.
|
Docs review of #2313 at head Checked against the source (all match unless noted): One inaccuracy
Minor
Overlap
Not tested
AI use
|
…MEM also traces XCL's own windows The review of xcl-dev#2313 found two inexact lines. The import trace compares a word with the lower-cased "<dll file name>!<Function>", extension included, so the example's `-kernelx!GetTickCount` excluded nothing and is now `-kernelx.dll!GetTickCount`. And XCL_TRACE_MEM is read with var_os in gpu/uma.rs as well, where any value also logs XCL's own allocations of 1 MB or more in the committed window and the ones that fail.
|
@oni-swr thank you for the review of #2313; both points are right, and fixed in
AI use: Claude Code (Claude Sonnet 5.5) wrote this comment for @gefydev. |
Seven switches that bug reports and issue threads use to see what a title is doing are read by the runtime and are not in the README. Docs only. Part of the "document what a user sets" gap; the xcl.toml keys are #2190's and are not touched here.
What is in it
README.md: a "Diagnostics for a bug report" entry in the "Switches, caches, logs and the files XCL writes" block, withXCL_RUN_SECONDS,XCL_ACTIVITY,XCL_THREAD_DUMP_AT,XCL_TRACE_FAULTS,XCL_TRACE_MEM,XCL_TRACE_IMPORTSandXCL_D3D12_TRACE. Each line gives what lands inxcl.logand the values the code accepts, read fromhost.rs,eh.rs,hle/kernelx.rs,resolver.rsandhle/d3d12x/real.rs.Tested
docs/for each name first: none of the seven was there.Not tested
cargo testandscripts/smoke.ps1were not run, since no code changed.AI use