Home
last modified time | relevance | path

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

/linux-6.1.9/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()
210 static nokprobe_inline unsigned long get_kretprobe_retaddr(struct kretprobe_instance *ri) in get_kretprobe_retaddr()
215 extern void arch_prepare_kretprobe(struct kretprobe_instance *ri,
251 static nokprobe_inline struct kretprobe *get_kretprobe(struct kretprobe_instance *ri) in get_kretprobe()
259 static nokprobe_inline unsigned long get_kretprobe_retaddr(struct kretprobe_instance *ri) in get_kretprobe_retaddr()
/linux-6.1.9/lib/
Dtest_kprobes.c142 static int entry_handler(struct kretprobe_instance *ri, struct pt_regs *regs) in entry_handler()
149 static int return_handler(struct kretprobe_instance *ri, struct pt_regs *regs) in return_handler()
175 static int return_handler2(struct kretprobe_instance *ri, struct pt_regs *regs) in return_handler2()
215 static int stacktrace_return_handler(struct kretprobe_instance *ri, struct pt_regs *regs) in stacktrace_return_handler()
276 static int stacktrace_internal_return_handler(struct kretprobe_instance *ri, struct pt_regs *regs) in stacktrace_internal_return_handler()
/linux-6.1.9/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.1.9/kernel/
Dkprobes.c1873 struct kretprobe_instance *ri = container_of(head, struct kretprobe_instance, rcu); in free_rp_inst_rcu()
1881 static void recycle_rp_inst(struct kretprobe_instance *ri) in recycle_rp_inst()
1900 struct kretprobe_instance *ri; in kprobe_flush_task()
1911 ri = container_of(node, struct kretprobe_instance, llist); in kprobe_flush_task()
1923 struct kretprobe_instance *ri; in free_rp_inst()
1929 ri = container_of(node, struct kretprobe_instance, freelist); in free_rp_inst()
1946 struct kretprobe_instance *ri = NULL; in __kretprobe_find_ret_addr()
1955 ri = container_of(node, struct kretprobe_instance, llist); in __kretprobe_find_ret_addr()
1984 struct kretprobe_instance *ri = NULL; in kretprobe_find_ret_addr()
1994 ri = container_of(*cur, struct kretprobe_instance, llist); in kretprobe_find_ret_addr()
[all …]
/linux-6.1.9/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.1.9/arch/parisc/kernel/
Dkprobes.c208 void __kprobes arch_prepare_kretprobe(struct kretprobe_instance *ri, in arch_prepare_kretprobe()
/linux-6.1.9/kernel/trace/
Dtrace_kprobe.c240 static int kretprobe_dispatcher(struct kretprobe_instance *ri,
1366 __kretprobe_trace_func(struct trace_kprobe *tk, struct kretprobe_instance *ri, in __kretprobe_trace_func()
1397 kretprobe_trace_func(struct trace_kprobe *tk, struct kretprobe_instance *ri, in kretprobe_trace_func()
1559 kretprobe_perf_func(struct trace_kprobe *tk, struct kretprobe_instance *ri, in kretprobe_perf_func()
1672 kretprobe_dispatcher(struct kretprobe_instance *ri, struct pt_regs *regs) in kretprobe_dispatcher()
/linux-6.1.9/arch/riscv/kernel/probes/
Dkprobes.c353 void __kprobes arch_prepare_kretprobe(struct kretprobe_instance *ri, in arch_prepare_kretprobe()
/linux-6.1.9/arch/arc/kernel/
Dkprobes.c371 void __kprobes arch_prepare_kretprobe(struct kretprobe_instance *ri, in arch_prepare_kretprobe()
/linux-6.1.9/arch/arm64/kernel/probes/
Dkprobes.c422 void __kprobes arch_prepare_kretprobe(struct kretprobe_instance *ri, in arch_prepare_kretprobe()
/linux-6.1.9/arch/sparc/kernel/
Dkprobes.c435 void __kprobes arch_prepare_kretprobe(struct kretprobe_instance *ri, in arch_prepare_kretprobe()
/linux-6.1.9/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.1.9/arch/csky/kernel/probes/
Dkprobes.c396 void __kprobes arch_prepare_kretprobe(struct kretprobe_instance *ri, in arch_prepare_kretprobe()
/linux-6.1.9/arch/powerpc/kernel/
Dkprobes.c248 void arch_prepare_kretprobe(struct kretprobe_instance *ri, struct pt_regs *regs) in arch_prepare_kretprobe()
/linux-6.1.9/arch/mips/kernel/
Dkprobes.c481 void arch_prepare_kretprobe(struct kretprobe_instance *ri, in arch_prepare_kretprobe()
/linux-6.1.9/arch/sh/kernel/
Dkprobes.c203 void __kprobes arch_prepare_kretprobe(struct kretprobe_instance *ri, in arch_prepare_kretprobe()
/linux-6.1.9/arch/s390/kernel/
Dkprobes.c285 void arch_prepare_kretprobe(struct kretprobe_instance *ri, struct pt_regs *regs) in arch_prepare_kretprobe()
/linux-6.1.9/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.1.9/arch/ia64/kernel/
Dkprobes.c410 void __kprobes arch_prepare_kretprobe(struct kretprobe_instance *ri, in arch_prepare_kretprobe()