Searched refs:kprobe_info (Results 1 – 5 of 5) sorted by relevance
24 fn try_from(kprobe_info: KprobeInfo) -> Result<Self, Self::Error> { in try_from()26 if kprobe_info.symbol.is_none() && kprobe_info.addr.is_none() { in try_from()29 if kprobe_info.symbol.is_some() && kprobe_info.addr.is_some() { in try_from()32 let func_addr = if let Some(symbol) = kprobe_info.symbol.clone() { in try_from()42 kprobe_info.symbol in try_from()48 kprobe_info.addr.unwrap() in try_from()51 kprobe_info.symbol, in try_from()53 kprobe_info.offset, in try_from()54 kprobe_info.pre_handler, in try_from()55 kprobe_info.post_handler, in try_from()[all …]
40 let kprobe_info = KprobeInfo { in kprobe_test() localVariable50 let kprobe = register_kprobe(kprobe_info).unwrap(); in kprobe_test()60 let kprobe_info = KprobeInfo { in kprobe_test() localVariable70 let kprobe2 = register_kprobe(kprobe_info).unwrap(); in kprobe_test()
150 pub fn register_kprobe(kprobe_info: KprobeInfo) -> Result<LockKprobe, SystemError> { in register_kprobe()151 let kprobe_builder = KprobeBuilder::try_from(kprobe_info)?; in register_kprobe()
144 let kprobe_info = KprobeInfo { in perf_event_open_kprobe() localVariable154 let kprobe = register_kprobe(kprobe_info).expect("create kprobe failed"); in perf_event_open_kprobe()
34 pub fn register_kprobe(kprobe_info: KprobeInfo) -> Result<LockKprobe, SystemError>;