Home
last modified time | relevance | path

Searched refs:regs (Results 1 – 4 of 4) sorted by relevance

/samples/kprobes/
Dkprobe_example.c23 static int handler_pre(struct kprobe *p, struct pt_regs *regs) in handler_pre() argument
28 p->addr, regs->ip, regs->flags); in handler_pre()
33 p->addr, regs->nip, regs->msr); in handler_pre()
38 p->addr, regs->cp0_epc, regs->cp0_status); in handler_pre()
46 static void handler_post(struct kprobe *p, struct pt_regs *regs, in handler_post() argument
51 p->addr, regs->flags); in handler_post()
55 p->addr, regs->msr); in handler_post()
59 p->addr, regs->cp0_status); in handler_post()
68 static int handler_fault(struct kprobe *p, struct pt_regs *regs, int trapnr) in handler_fault() argument
Djprobe_example.c27 struct pt_regs *regs, unsigned long stack_size, in jdo_fork() argument
32 clone_flags, stack_size, regs); in jdo_fork()
Dkretprobe_example.c39 static int entry_handler(struct kretprobe_instance *ri, struct pt_regs *regs) in entry_handler() argument
56 static int ret_handler(struct kretprobe_instance *ri, struct pt_regs *regs) in ret_handler() argument
58 int retval = regs_return_value(regs); in ret_handler()
/samples/hw_breakpoint/
Ddata_breakpoint.c46 struct pt_regs *regs) in sample_hbp_handler() argument