javierhonduco / lightswitch

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

Add tracers for process exits and memory unmaps #17

Closed javierhonduco closed 7 months ago

javierhonduco commented 7 months ago

This change is important for longer profiling sessions (such as continuous profiling) to be informed of processes that exit as well of memory mappings that get unmapped.

The events are only sent for mappings and processes that are already stored in the BPF maps.

Additional changes

Future work

Test Plan

Ran lightswitch several times without issues.