javierhonduco / lightswitch

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

Remove unneeded perf event wrapper #43

Closed javierhonduco closed 6 months ago

javierhonduco commented 6 months ago

We used to need this because the syscalls numbers for each architecture are different and the perf_event_open_sys used x86 bindings only but this has changed since so sys::perf_event_open uses the right syscall number for x86 and arm64.