Home
last modified time | relevance | path

Searched refs:ProbeArgs (Results 1 – 9 of 9) sorted by relevance

/DragonOS/kernel/crates/kprobe/src/arch/
H A Dmod.rs27 pub trait ProbeArgs: Send { trait
58 func: fn(&dyn ProbeArgs),
62 pub fn new(func: fn(&dyn ProbeArgs)) -> Self { in new()
66 pub fn call(&self, trap_frame: &dyn ProbeArgs) { in call() argument
84 fn call(&self, trap_frame: &dyn ProbeArgs); in call() argument
92 pre_handler: fn(&dyn ProbeArgs), in new() argument
93 post_handler: fn(&dyn ProbeArgs), in new() argument
109 pub fn with_fault_handler(mut self, func: fn(&dyn ProbeArgs)) -> Self { in with_fault_handler()
144 fn call(&self, trap_frame: &dyn ProbeArgs); in call() argument
158 pub fn call_pre_handler(&self, trap_frame: &dyn ProbeArgs) { in call_pre_handler() argument
[all …]
/DragonOS/kernel/src/debug/kprobe/
H A Dtest.rs4 use kprobe::ProbeArgs;
14 fn pre_handler(regs: &dyn ProbeArgs) { in pre_handler() argument
22 fn post_handler(regs: &dyn ProbeArgs) { in post_handler() argument
30 fn fault_handler(regs: &dyn ProbeArgs) { in fault_handler() argument
52 let new_pre_handler = |regs: &dyn ProbeArgs| { in kprobe_test()
H A Dargs.rs3 use kprobe::{CallBackFunc, KprobeBuilder, ProbeArgs};
8 pub pre_handler: fn(&dyn ProbeArgs),
9 pub post_handler: fn(&dyn ProbeArgs),
10 pub fault_handler: Option<fn(&dyn ProbeArgs)>,
/DragonOS/docs/kernel/trace/
H A Dkprobe.md38 pub fn call_pre_handler(&self, trap_frame: &dyn ProbeArgs)
39 pub fn call_post_handler(&self, trap_frame: &dyn ProbeArgs)
40 pub fn call_fault_handler(&self, trap_frame: &dyn ProbeArgs)
41 pub fn call_event_callback(&self, trap_frame: &dyn ProbeArgs)
/DragonOS/kernel/src/exception/
H A Ddebug.rs4 use kprobe::{KprobeOps, ProbeArgs};
H A Debreak.rs5 use kprobe::{KprobeOps, ProbeArgs};
/DragonOS/kernel/src/arch/riscv64/interrupt/
H A Dmod.rs2 use kprobe::ProbeArgs;
172 impl ProbeArgs for TrapFrame {
/DragonOS/kernel/src/perf/
H A Dkprobe.rs20 use kprobe::{CallBackFunc, ProbeArgs};
69 fn call(&self, trap_frame: &dyn ProbeArgs) { in call() argument
/DragonOS/kernel/src/arch/x86_64/interrupt/
H A Dmod.rs12 use kprobe::ProbeArgs;
187 impl ProbeArgs for TrapFrame {