Commit graph

1 commit

Author SHA1 Message Date
trvon
7a7fa81c74
profiling: watch_cpu_capture.sh takes one Tracy capture when a process spins
Polls a profiled process's CPU every 5 s and, after sustained use above a
threshold, attaches scripts/profile_capture.sh for a fixed window. For bugs
that only appear sometimes (the tray spinning a core during the 2026-11-14
hang). Verified attach on the live profiled tray: zones tray.on_reply /
update_status / update_tray / poll arrive (~4 ms per 3 s poll when healthy).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 18:52:09 -07:00