Monitor cache events with samply and use isolation#404
Conversation
Greptile SummaryThis PR extends the samply wall-time profiler to capture hardware cache/instruction events alongside CPU-cycle sampling, and re-enables systemd-run isolation for samply (previously it had opted out). It also adds a developer convenience script for patching samply and related crates to local checkouts.
Confidence Score: 5/5Safe to merge; the changes are well-scoped and samply degrades gracefully when requested PMU events are unavailable. The cache event logic is architecturally sound — x86 Intel and aarch64 paths are distinct and have correct fallbacks, and the samply comment confirms graceful degradation. Re-enabling isolation for samply is a deliberate, single-line change. The only findings are minor style concerns (a println! in a diagnostic test and an abbreviated git SHA). No files require special attention. Important Files Changed
|
Merging this PR will not alter performance
|
22d1089 to
8b78457
Compare
8b78457 to
f3d930e
Compare
f3d930e to
9e21a9c
Compare
|
@not-matthias addressing your comments on #400:
|
No description provided.