Function disable_perf_events

Source
pub fn disable_perf_events() -> Result<()>
Expand description

Disable all performance counters attached to the current process.

Performance counters are created using perf_event_open(2) and can be used to measure performance information.

See prctl(2) for more information.