javierhonduco / lightswitch

CPU profiler for Linux written in Rust
MIT License
7 stars 3 forks source link

Implement unwind information reset #45

Closed javierhonduco closed 5 months ago

javierhonduco commented 5 months ago

This implmementation has several shortcomings, and doesn't have any rate-limiting in place. We will continue to improve this and have plans to revisit how we store chunks (as this can be optimized) as well as how the unwind information is laid out to try to prevent expensive state resets.

Test Plan

Ran on busy hosts that used all shards. The state was resest and profiling continued as usual.

javierhonduco commented 5 months ago

cc @gmarler as this should fix the bug you reported. Let me know if that's not the case!