Files
xenia-rs/audit-runs/phase-nonmatch-investigation/tid-top-calls.txt
MechaCat02 ef93a4fa14 handoff: VSync/event-wedge fixes + iterate 2.A–2.BC research notes
Source changes (dormant parity infra, retained from iterate 2.AI/2.AO):
- xenia-kernel/exports.rs: nt_create_event manual_reset polarity +
  related event wiring
- xenia-gpu/mmio_region.rs: D1MODE_VBLANK_VLINE_STATUS hardcode parity

Also lands the audit-runs/ analysis notes (.md/.txt/.json digests) for the
iterate 2.x VSync/0x10e8/0x1004 wedge investigation. Raw trace dumps
(.jsonl/.gz/.csv/.stdout) and agent worktrees (.claude/) are gitignored as
regenerable local artifacts — see memory + HANDOFF for the running findings.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-05 07:19:08 +02:00

318 lines
10 KiB
Plaintext

=== tid=14 total_events=6,151,835 ===
1,048,332 KeRaiseIrqlToDpcLevel
941,976 KeAcquireSpinLockAtRaisedIrql
941,976 KeReleaseSpinLockFromRaisedIrql
941,976 KfLowerIrql
53,890 RtlEnterCriticalSection
53,890 RtlLeaveCriticalSection
29,812 KeSetEvent
26,126 KeWaitForSingleObject
26,126 XAudioGetVoiceCategoryVolumeChangeMask
26,126 KeReleaseSemaphore
350 KeQueryPerformanceFrequency
4 MmGetPhysicalAddress
=== tid=15 total_events=4,776,698 ===
786,872 KeRaiseIrqlToDpcLevel
785,086 KeAcquireSpinLockAtRaisedIrql
785,085 KeReleaseSpinLockFromRaisedIrql
785,084 KfLowerIrql
26,126 KeWaitForSingleObject
3,564 KeSetEvent
1,782 RtlEnterCriticalSection
1,782 RtlLeaveCriticalSection
374 KeQueryPerformanceFrequency
2 MmGetPhysicalAddress
=== tid=28 total_events=3,255,462 ===
1,076,058 RtlEnterCriticalSection
1,076,056 RtlLeaveCriticalSection
10,812 MmQueryAddressProtect
3,604 KeSetEvent
2,026 KeWaitForSingleObject
530 NtReadFile
530 RtlNtStatusToDosError
16 MmAllocatePhysicalMemoryEx
=== tid=16 total_events=1,799,931 ===
196,976 RtlEnterCriticalSection
196,974 KeRaiseIrqlToDpcLevel
196,972 RtlLeaveCriticalSection
196,814 KeAcquireSpinLockAtRaisedIrql
196,812 KeReleaseSpinLockFromRaisedIrql
196,812 KfLowerIrql
12,072 NtWaitForSingleObjectEx
18 MmGetPhysicalAddress
6 RtlInitializeCriticalSectionAndSpinCount
6 XMACreateContext
4 NtClose
2 ObReferenceObjectByHandle
2 KeSetAffinityThread
2 ObDereferenceObject
2 KeQueryPerformanceFrequency
2 NtCreateEvent
2 RtlInitAnsiString
2 NtCreateFile
2 NtDuplicateObject
2 NtSetEvent
=== tid=21 total_events=1,006,388 ===
223,640 RtlEnterCriticalSection
223,640 RtlLeaveCriticalSection
223,636 NtWaitForMultipleObjectsEx
2 ObReferenceObjectByHandle
2 KeSetAffinityThread
2 ObDereferenceObject
2 NtSetTimerEx
2 NtReleaseSemaphore
=== tid=13 total_events=593,522 ===
219,694 NtYieldExecution
42,432 RtlEnterCriticalSection
42,432 RtlLeaveCriticalSection
14,492 KeQueryPerformanceFrequency
12,092 VdGetSystemCommandBuffer
12,092 VdSwap
12,092 KeEnterCriticalRegion
12,092 VdRetrainEDRAM
12,092 KeLeaveCriticalRegion
11,856 NtWaitForMultipleObjectsEx
3,600 KeSetEvent
310 KeWaitForSingleObject
12 ObDereferenceObject
10 ObLookupThreadByThreadId
10 ObOpenObjectByPointer
10 NtSetEvent
10 NtWaitForSingleObjectEx
10 NtClose
8 KeResetEvent
6 NtResumeThread
=== tid=6 total_events=476,943 ===
99,008 RtlEnterCriticalSection
99,008 RtlLeaveCriticalSection
36,254 XamInputGetCapabilities
24,184 NtSetEvent
14,414 NtWaitForSingleObjectEx
13,434 XNotifyGetNext
12,084 XamInputGetState
12,082 XamInputGetKeystrokeEx
976 NtReleaseSemaphore
182 RtlInitializeCriticalSectionAndSpinCount
144 RtlInitializeCriticalSection
90 NtCreateEvent
90 KeRaiseIrqlToDpcLevel
76 KeAcquireSpinLockAtRaisedIrql
76 KeReleaseSpinLockFromRaisedIrql
76 KfLowerIrql
64 NtClose
56 MmAllocatePhysicalMemoryEx
50 RtlNtStatusToDosError
42 NtAllocateVirtualMemory
=== tid=4 total_events=195,940 ===
26,126 RtlEnterCriticalSection
26,126 KeSetEvent
26,126 KeWaitForMultipleObjects
26,124 XAudioSubmitRenderDriverFrame
26,124 RtlLeaveCriticalSection
=== tid=29 total_events=91,203 ===
14,522 RtlEnterCriticalSection
14,522 RtlLeaveCriticalSection
10,906 KeRaiseIrqlToDpcLevel
7,252 KeWaitForSingleObject
3,640 KeAcquireSpinLockAtRaisedIrql
3,640 KeReleaseSpinLockFromRaisedIrql
3,640 KfLowerIrql
=== tid=1 total_events=68,946 ===
22,982 KeAcquireSpinLockAtRaisedIrql
22,982 KeReleaseSpinLockFromRaisedIrql
=== tid=10 total_events=63,537 ===
14,454 NtWaitForMultipleObjectsEx
11,206 RtlEnterCriticalSection
11,206 RtlLeaveCriticalSection
852 NtClose
826 NtReleaseSemaphore
782 NtQueryInformationFile
776 NtCreateEvent
764 NtReadFile
764 RtlNtStatusToDosError
62 NtSetEvent
24 RtlInitializeCriticalSectionAndSpinCount
16 NtDuplicateObject
10 NtWaitForSingleObjectEx
8 MmFreePhysicalMemory
8 MmAllocatePhysicalMemoryEx
2 ObReferenceObjectByHandle
2 KeSetAffinityThread
2 ObDereferenceObject
2 NtCreateSemaphore
2 ExCreateThread
=== tid=11 total_events=61,278 ===
13,634 RtlEnterCriticalSection
13,634 RtlLeaveCriticalSection
13,564 NtWaitForMultipleObjectsEx
10 NtSetEvent
2 ObReferenceObjectByHandle
2 KeSetAffinityThread
2 ObDereferenceObject
=== tid=12 total_events=36,894 ===
7,380 KeWaitForSingleObject
7,378 RtlEnterCriticalSection
7,378 RtlLeaveCriticalSection
=== tid=27 total_events=36,029 ===
7,266 RtlEnterCriticalSection
7,266 RtlLeaveCriticalSection
3,636 KeSetEvent
3,628 KeWaitForSingleObject
506 NtReadFile
506 RtlNtStatusToDosError
=== tid=18 total_events=33,085 ===
10,858 RtlEnterCriticalSection
10,858 RtlLeaveCriticalSection
36 RtlInitAnsiString
28 NtReleaseSemaphore
28 NtWaitForSingleObjectEx
22 NtClose
20 NtQueryFullAttributesFile
20 RtlNtStatusToDosError
18 NtDuplicateObject
16 RtlInitializeCriticalSectionAndSpinCount
16 NtCreateFile
16 NtCreateEvent
6 MmAllocatePhysicalMemoryEx
4 ExCreateThread
4 ObReferenceObjectByHandle
4 KeSetAffinityThread
4 ObDereferenceObject
4 NtResumeThread
4 KeTlsSetValue
2 NtCreateSemaphore
=== tid=2 total_events=20,304 ===
13,536 NtSetEvent
=== tid=9 total_events=8,305 ===
1,866 RtlEnterCriticalSection
1,866 RtlLeaveCriticalSection
386 RtlInitAnsiString
244 NtClose
212 NtCreateFile
168 NtSetInformationFile
132 NtOpenFile
122 NtWriteFile
102 RtlNtStatusToDosError
84 NtQueryInformationFile
44 NtWaitForSingleObjectEx
42 NtQueryVolumeInformationFile
18 MmFreePhysicalMemory
2 ObReferenceObjectByHandle
2 KeSetAffinityThread
2 ObDereferenceObject
2 NtQueryDirectoryFile
=== tid=26 total_events=6,707 ===
1,558 RtlEnterCriticalSection
1,558 RtlLeaveCriticalSection
1,282 NtYieldExecution
6 NtCreateEvent
6 RtlInitializeCriticalSectionAndSpinCount
6 NtClose
4 NtDuplicateObject
4 NtWaitForSingleObjectEx
4 KeTlsSetValue
2 ObReferenceObjectByHandle
2 KeSetAffinityThread
2 ObDereferenceObject
2 ExGetXConfigSetting
2 RtlInitAnsiString
2 NtQueryFullAttributesFile
2 RtlNtStatusToDosError
2 NtSetEvent
2 NtReleaseSemaphore
2 KeTlsGetValue
2 ExTerminateThread
=== tid=17 total_events=4,140 ===
1,214 RtlEnterCriticalSection
1,214 RtlLeaveCriticalSection
38 NtClose
36 NtCreateEvent
32 NtDuplicateObject
30 RtlInitializeCriticalSectionAndSpinCount
22 RtlInitAnsiString
22 NtWaitForSingleObjectEx
18 NtQueryFullAttributesFile
18 RtlNtStatusToDosError
18 NtReleaseSemaphore
16 NtSetEvent
4 NtCreateFile
4 KeTlsSetValue
2 ObReferenceObjectByHandle
2 KeSetAffinityThread
2 ObDereferenceObject
2 XNotifyPositionUI
2 ExGetXConfigSetting
2 ExCreateThread
=== tid=8 total_events=60 ===
16 RtlEnterCriticalSection
16 RtlLeaveCriticalSection
2 ObReferenceObjectByHandle
2 KeSetAffinityThread
2 ObDereferenceObject
2 NtWaitForSingleObjectEx
=== tid=22 total_events=51 ===
16 RtlEnterCriticalSection
16 RtlLeaveCriticalSection
2 NtWaitForSingleObjectEx
=== tid=7 total_events=32 ===
6 RtlInitAnsiString
2 NtCreateFile
2 NtAllocateVirtualMemory
2 NtQueryVolumeInformationFile
2 ObCreateSymbolicLink
2 ExRegisterTitleTerminateNotification
2 KeSetEvent
2 KeWaitForSingleObject
=== tid=23 total_events=17 ===
2 RtlEnterCriticalSection
2 RtlLeaveCriticalSection
2 ObReferenceObjectByHandle
2 KeSetAffinityThread
2 ObDereferenceObject
2 NtWaitForMultipleObjectsEx
=== tid=0 total_events=12 ===
=== tid=19 total_events=9 ===
2 RtlEnterCriticalSection
2 RtlLeaveCriticalSection
2 NtWaitForSingleObjectEx
=== tid=20 total_events=9 ===
2 RtlEnterCriticalSection
2 RtlLeaveCriticalSection
2 NtWaitForSingleObjectEx
=== tid=24 total_events=8 ===
2 RtlEnterCriticalSection
2 RtlLeaveCriticalSection
2 NtWaitForMultipleObjectsEx
=== tid=25 total_events=8 ===
2 RtlEnterCriticalSection
2 RtlLeaveCriticalSection
2 NtWaitForMultipleObjectsEx