Home
last modified time | relevance | path

Searched refs:ret_handler (Results 1 – 6 of 6) sorted by relevance

/linux/samples/kprobes/
H A Dkretprobe_example.c57 static int ret_handler(struct kretprobe_instance *ri, struct pt_regs *regs) in ret_handler() function
70 NOKPROBE_SYMBOL(ret_handler);
73 .handler = ret_handler,
/linux/include/linux/
H A Duprobes.h55 int (*ret_handler)(struct uprobe_consumer *self, member
/linux/kernel/events/
H A Duprobes.c1398 if (!uc->handler && !uc->ret_handler) in uprobe_register()
2555 bool session = uc->handler && uc->ret_handler; in handler_chain()
2568 if (!uc->ret_handler || ignore_ret_handler(rc)) in handler_chain()
2608 bool session = uc->handler && uc->ret_handler; in handle_uretprobe_chain()
2610 if (uc->ret_handler) { in handle_uretprobe_chain()
2613 uc->ret_handler(uc, ri->func, regs, ric ? &ric->cookie : NULL); in handle_uretprobe_chain()
/linux/kernel/trace/
H A Dtrace_uprobe.c271 return tu->consumer.ret_handler != NULL; in is_ret_probe()
358 tu->consumer.ret_handler = uretprobe_dispatcher; in alloc_trace_uprobe()
H A Dbpf_trace.c3256 uprobes[i].consumer.ret_handler = uprobe_multi_link_ret_handler; in bpf_uprobe_multi_link_attach()
/linux/tools/testing/selftests/bpf/test_kmods/
H A Dbpf_testmod.c597 .consumer.ret_handler = uprobe_ret_handler,