fix: distinguish native process exit from sampling failure

This commit is contained in:
morluto committed 2026-10-24 03:59:44 +08:00
1 parent f6b525d3af
commit b2cb9b6596
6 files changed
+131 -5

No files matched your search

+3 -1
View File
@@ -472,7 +472,9 @@ Every capture requires `truncation_details`, with separate accounting for:
Denied or failed procfs reads mark
sampling partial while preserving readable process rows and thread children;
a process with unreadable identity is not attributed. Expected process-exit
races are separate from failed observations. Shutdown counts only when it
races are separate from failed observations. A native token reader's confirmed
process absence during initialization is an expected exit; token-read denial
and unavailable snapshots still count as failed observations. Shutdown counts only when it
interrupts a read or leaves traversal unfinished; a completed pass does not
become partial merely because the sampler stops. Completed rows
remain available and issued reads settle before final coverage is returned.