Home
last modified time | relevance | path

Searched defs:pt_regs (Results 1 – 4 of 4) sorted by relevance

/DragonOS/kernel/src/process/
H A Dptrace.h5 struct pt_regs struct
7 unsigned long r15;
8 unsigned long r14;
9 unsigned long r13;
10 unsigned long r12;
34 * @brief 判断pt_regs是否来自用户态 argument
39 static inline int user_mode(struct pt_regs *regs) in user_mode() argument
/DragonOS/kernel/src/debug/kprobe/
H A Dtest.rs15 let pt_regs = regs.as_any().downcast_ref::<TrapFrame>().unwrap(); in pre_handler() localVariable
23 let pt_regs = regs.as_any().downcast_ref::<TrapFrame>().unwrap(); in post_handler() localVariable
31 let pt_regs = regs.as_any().downcast_ref::<TrapFrame>().unwrap(); in fault_handler() localVariable
53 let pt_regs = regs.as_any().downcast_ref::<TrapFrame>().unwrap(); in kprobe_test() localVariable
/DragonOS/user/apps/test_ebpf/syscall_ebpf/syscall_ebpf-ebpf/src/
H A Dmain.rs15 let pt_regs = unsafe { in try_syscall_ebpf() localVariable
/DragonOS/kernel/src/perf/
H A Dkprobe.rs71 let pt_regs = KProbeContext::from(trap_frame); in call() localVariable