perf_event_alloc

Function perf_event_alloc 

Source
pub fn perf_event_alloc(current_task: &CurrentTask) -> PerfEventState
Expand description

Returns the security context to be assigned to a PerfEventFileState, based on the task that creates it. Corresponds to the perf_event_alloc LSM hook.