Home
last modified time | relevance | path

Searched refs:kretprobe_instance (Results 1 – 18 of 18) sorted by relevance

/linux-6.6.21/include/linux/
Dkprobes.h53 struct kretprobe_instance;
57 typedef int (*kretprobe_handler_t) (struct kretprobe_instance *,
164 struct kretprobe_instance { struct
203 static nokprobe_inline struct kretprobe *get_kretprobe(struct kretprobe_instance *ri) in get_kretprobe()
208 static nokprobe_inline unsigned long get_kretprobe_retaddr(struct kretprobe_instance *ri) in get_kretprobe_retaddr()
213 extern void arch_prepare_kretprobe(struct kretprobe_instance *ri,
249 static nokprobe_inline struct kretprobe *get_kretprobe(struct kretprobe_instance *ri) in get_kretprobe()
254 static nokprobe_inline unsigned long get_kretprobe_retaddr(struct kretprobe_instance *ri) in get_kretprobe_retaddr()
/linux-6.6.21/lib/
Dtest_kprobes.c175 static int entry_handler(struct kretprobe_instance *ri, struct pt_regs *regs) in entry_handler()
182 static int return_handler(struct kretprobe_instance *ri, struct pt_regs *regs) in return_handler()
208 static int return_handler2(struct kretprobe_instance *ri, struct pt_regs *regs) in return_handler2()
248 static int stacktrace_return_handler(struct kretprobe_instance *ri, struct pt_regs *regs) in stacktrace_return_handler()
309 static int stacktrace_internal_return_handler(struct kretprobe_instance *ri, struct pt_regs *regs) in stacktrace_internal_return_handler()
/linux-6.6.21/samples/kprobes/
Dkretprobe_example.c39 static int entry_handler(struct kretprobe_instance *ri, struct pt_regs *regs) in entry_handler()
57 static int ret_handler(struct kretprobe_instance *ri, struct pt_regs *regs) in ret_handler()
/linux-6.6.21/kernel/
Dkprobes.c1882 struct kretprobe_instance *ri = container_of(head, struct kretprobe_instance, rcu); in free_rp_inst_rcu()
1890 static void recycle_rp_inst(struct kretprobe_instance *ri) in recycle_rp_inst()
1909 struct kretprobe_instance *ri; in kprobe_flush_task()
1920 ri = container_of(node, struct kretprobe_instance, llist); in kprobe_flush_task()
1932 struct kretprobe_instance *ri; in free_rp_inst()
1938 ri = container_of(node, struct kretprobe_instance, freelist); in free_rp_inst()
1955 struct kretprobe_instance *ri = NULL; in __kretprobe_find_ret_addr()
1964 ri = container_of(node, struct kretprobe_instance, llist); in __kretprobe_find_ret_addr()
1993 struct kretprobe_instance *ri = NULL; in kretprobe_find_ret_addr()
2003 ri = container_of(*cur, struct kretprobe_instance, llist); in kretprobe_find_ret_addr()
[all …]
/linux-6.6.21/Documentation/trace/
Dkprobes.rst124 stored in an object of type kretprobe_instance. Before calling
128 pre-allocates the indicated number of kretprobe_instance objects.
139 time the probed function is entered but there is no kretprobe_instance
155 kretprobe_instance object associated with them. Additionally, a user
157 kretprobe_instance object. This is especially useful when sharing private
161 accessed through the data field of each kretprobe_instance object.
163 In case probed function is entered but there is no kretprobe_instance
434 int kretprobe_handler(struct kretprobe_instance *ri,
438 kretprobe_instance object, of which the following fields may be
/linux-6.6.21/arch/parisc/kernel/
Dkprobes.c208 void __kprobes arch_prepare_kretprobe(struct kretprobe_instance *ri, in arch_prepare_kretprobe()
/linux-6.6.21/kernel/trace/
Dtrace_kprobe.c240 static int kretprobe_dispatcher(struct kretprobe_instance *ri,
1383 __kretprobe_trace_func(struct trace_kprobe *tk, struct kretprobe_instance *ri, in __kretprobe_trace_func()
1413 kretprobe_trace_func(struct trace_kprobe *tk, struct kretprobe_instance *ri, in kretprobe_trace_func()
1575 kretprobe_perf_func(struct trace_kprobe *tk, struct kretprobe_instance *ri, in kretprobe_perf_func()
1683 kretprobe_dispatcher(struct kretprobe_instance *ri, struct pt_regs *regs) in kretprobe_dispatcher()
/linux-6.6.21/arch/arc/kernel/
Dkprobes.c371 void __kprobes arch_prepare_kretprobe(struct kretprobe_instance *ri, in arch_prepare_kretprobe()
/linux-6.6.21/arch/arm64/kernel/probes/
Dkprobes.c404 void __kprobes arch_prepare_kretprobe(struct kretprobe_instance *ri, in arch_prepare_kretprobe()
/linux-6.6.21/arch/csky/kernel/probes/
Dkprobes.c396 void __kprobes arch_prepare_kretprobe(struct kretprobe_instance *ri, in arch_prepare_kretprobe()
/linux-6.6.21/arch/sparc/kernel/
Dkprobes.c435 void __kprobes arch_prepare_kretprobe(struct kretprobe_instance *ri, in arch_prepare_kretprobe()
/linux-6.6.21/arch/arm/probes/kprobes/
Dcore.c420 void __kprobes arch_prepare_kretprobe(struct kretprobe_instance *ri, in arch_prepare_kretprobe()
Dtest-core.c370 kretprobe_handler(struct kretprobe_instance *ri, struct pt_regs *regs) in kretprobe_handler()
/linux-6.6.21/arch/mips/kernel/
Dkprobes.c481 void arch_prepare_kretprobe(struct kretprobe_instance *ri, in arch_prepare_kretprobe()
/linux-6.6.21/arch/sh/kernel/
Dkprobes.c203 void __kprobes arch_prepare_kretprobe(struct kretprobe_instance *ri, in arch_prepare_kretprobe()
/linux-6.6.21/arch/powerpc/kernel/
Dkprobes.c245 void arch_prepare_kretprobe(struct kretprobe_instance *ri, struct pt_regs *regs) in arch_prepare_kretprobe()
/linux-6.6.21/arch/s390/lib/
Dtest_unwind.c158 static int kretprobe_ret_handler(struct kretprobe_instance *ri, struct pt_regs *regs) in kretprobe_ret_handler()
/linux-6.6.21/arch/ia64/kernel/
Dkprobes.c410 void __kprobes arch_prepare_kretprobe(struct kretprobe_instance *ri, in arch_prepare_kretprobe()