Home
last modified time | relevance | path

Searched refs:rethook (Results 1 - 17 of 17) sorted by relevance

/kernel/linux/linux-6.6/kernel/trace/
H A Drethook.c3 #define pr_fmt(fmt) "rethook: " fmt
9 #include <linux/rethook.h>
38 struct rethook *rh = container_of(head, struct rethook, rcu); in rethook_free_rcu()
57 * rethook_stop() - Stop using a rethook.
58 * @rh: the struct rethook to stop.
60 * Stop using a rethook to prepare for freeing it. If you want to wait for
61 * all running rethook handler before calling rethook_free(), you need to
64 void rethook_stop(struct rethook *rh) in rethook_stop()
70 * rethook_free() - Free struct rethook
[all...]
H A Dfprobe.c11 #include <linux/rethook.h>
36 rh = rethook_try_get(fp->rethook); in __fprobe_handler()
196 fp->rethook = NULL; in fprobe_init_rethook()
200 /* Initialize rethook if needed */ in fprobe_init_rethook()
208 fp->rethook = rethook_alloc((void *)fp, fprobe_exit_handler); in fprobe_init_rethook()
209 if (!fp->rethook) in fprobe_init_rethook()
216 rethook_free(fp->rethook); in fprobe_init_rethook()
217 fp->rethook = NULL; in fprobe_init_rethook()
220 rethook_add_node(fp->rethook, &node->node); in fprobe_init_rethook()
227 if (fp->rethook) { in fprobe_fail_cleanup()
[all...]
H A DMakefile107 obj-$(CONFIG_RETHOOK) += rethook.o
/kernel/linux/linux-6.6/include/linux/
H A Drethook.h20 * struct rethook - The rethook management data structure.
30 struct rethook { struct
44 * struct rethook_node - The rethook shadow-stack entry node.
45 * @freelist: The freelist, linked to struct rethook::pool.
48 * @rethook: The pointer to the struct rethook.
61 struct rethook *rethook; member
66 struct rethook *rethook_allo
[all...]
H A Dfprobe.h8 #include <linux/rethook.h>
15 * @rethook: The rethook data structure. (internal data)
33 struct rethook *rethook; member
H A Dkprobes.h31 #include <linux/rethook.h>
155 struct rethook *rh;
205 /* rethook::data is non-changed field, so that you can access it freely. */ in get_kretprobe()
206 return (struct kretprobe *)ri->node.rethook->data; in get_kretprobe()
/kernel/linux/linux-6.6/arch/loongarch/kernel/
H A Drethook.c7 #include <linux/rethook.h>
8 #include "rethook.h"
27 /* ASM function that handles the rethook must not be probed itself */
H A DMakefile71 obj-$(CONFIG_RETHOOK) += rethook.o rethook_trampoline.o
/kernel/linux/linux-6.6/arch/riscv/kernel/probes/
H A DMakefile3 obj-$(CONFIG_RETHOOK) += rethook.o rethook_trampoline.o
H A Drethook.c7 #include <linux/rethook.h>
8 #include "rethook.h"
/kernel/linux/linux-6.6/arch/s390/kernel/
H A Drethook.c2 #include <linux/rethook.h>
4 #include "rethook.h"
33 /* assembler function that handles the rethook must not be probed itself */
H A DMakefile62 obj-$(CONFIG_RETHOOK) += rethook.o
/kernel/linux/linux-6.6/arch/x86/kernel/
H A Drethook.c3 * x86 implementation of rethook. Mostly copied from arch/x86/kernel/kprobes/core.c.
6 #include <linux/rethook.h>
20 * arch_rethook_trampoline_callback(), which calls the rethook handler.
29 /* Push a fake return address to tell the unwinder it's a rethook. */
44 /* Push a fake return address to tell the unwinder it's a rethook. */
H A DMakefile99 obj-$(CONFIG_RETHOOK) += rethook.o
/kernel/linux/linux-6.6/arch/s390/include/asm/
H A Dunwind.h7 #include <linux/rethook.h>
46 /* Recover the return address modified by rethook and ftrace_graph. */
/kernel/linux/linux-6.6/arch/x86/include/asm/
H A Dunwind.h7 #include <linux/rethook.h>
118 /* Recover the return address modified by rethook and ftrace_graph. */
/kernel/linux/linux-6.6/kernel/
H A Dexit.c74 #include <linux/rethook.h>

Completed in 7 milliseconds