Home
last modified time | relevance | path

Searched refs:kprobe_info (Results 1 – 5 of 5) sorted by relevance

/DragonOS/kernel/src/debug/kprobe/
H A Dargs.rs24 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 …]
H A Dtest.rs40 let kprobe_info = KprobeInfo { in kprobe_test() localVariable
50 let kprobe = register_kprobe(kprobe_info).unwrap(); in kprobe_test()
60 let kprobe_info = KprobeInfo { in kprobe_test() localVariable
70 let kprobe2 = register_kprobe(kprobe_info).unwrap(); in kprobe_test()
H A Dmod.rs150 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()
/DragonOS/kernel/src/perf/
H A Dkprobe.rs144 let kprobe_info = KprobeInfo { in perf_event_open_kprobe() localVariable
154 let kprobe = register_kprobe(kprobe_info).expect("create kprobe failed"); in perf_event_open_kprobe()
/DragonOS/docs/kernel/trace/
H A Dkprobe.md34 pub fn register_kprobe(kprobe_info: KprobeInfo) -> Result<LockKprobe, SystemError>;