Function nc::perf_event_open
source ยท pub unsafe fn perf_event_open(
attr: &mut perf_event_attr_t,
pid: pid_t,
cpu: i32,
group_fd: i32,
flags: usize,
) -> Result<i32, Errno>
Expand description
Set up performance monitoring.