pub(crate) fn setup_perf_events(
skel: &mut BpfSkel<'_>,
cpu: i32,
perf_config: u64,
counter_idx: u32,
) -> Result<()>Expand description
Setup performance counter events for a specific CPU and counter index. counter_idx 0 = migration event (-e), 1 = sticky event (-y).