Skip to main content

classify_perf_event

Function classify_perf_event 

Source
pub fn classify_perf_event(event_type: u32, config: u64) -> bool
Expand description

Classify whether a perf_event is suspicious.

Flags RAW PMU access (type 4) and certain cache event configurations (type 3).