Searched refs:rethook (Results 1 - 17 of 17) sorted by relevance
/linux-master/include/linux/ |
H A D | rethook.h | 19 * struct rethook - The rethook management data structure. 29 struct rethook { struct 42 * struct rethook_node - The rethook shadow-stack entry node. 45 * @rethook: The pointer to the struct rethook. 55 struct rethook *rethook; member in struct:rethook_node 60 struct rethook *rethook_alloc(void *data, rethook_handler_t handler, int size, int num); 61 void rethook_stop(struct rethook *r [all...] |
H A D | fprobe.h | 8 #include <linux/rethook.h> 15 * @rethook: The rethook data structure. (internal data) 33 struct rethook *rethook; member in struct:fprobe
|
H A D | kprobes.h | 30 #include <linux/rethook.h> 154 struct rethook *rh; 200 /* rethook::data is non-changed field, so that you can access it freely. */ 201 return (struct kretprobe *)ri->node.rethook->data;
|
/linux-master/kernel/trace/ |
H A D | rethook.c | 3 #define pr_fmt(fmt) "rethook: " fmt 9 #include <linux/rethook.h> 37 struct rethook *rh = container_of(head, struct rethook, rcu); 42 * rethook_stop() - Stop using a rethook. 43 * @rh: the struct rethook to stop. 45 * Stop using a rethook to prepare for freeing it. If you want to wait for 46 * all running rethook handler before calling rethook_free(), you need to 49 void rethook_stop(struct rethook *rh) 55 * rethook_free() - Free struct rethook [all...] |
H A D | fprobe.c | 11 #include <linux/rethook.h> 36 rh = rethook_try_get(fp->rethook); 193 fp->rethook = NULL; 197 /* Initialize rethook if needed */ 207 /* Initialize rethook */ 208 fp->rethook = rethook_alloc((void *)fp, fprobe_exit_handler, size, num); 209 if (IS_ERR(fp->rethook)) 210 return PTR_ERR(fp->rethook); 217 if (!IS_ERR_OR_NULL(fp->rethook)) { 218 /* Don't need to cleanup rethook [all...] |
H A D | Makefile | 107 obj-$(CONFIG_RETHOOK) += rethook.o
|
/linux-master/arch/riscv/kernel/probes/ |
H A D | rethook.c | 7 #include <linux/rethook.h> 8 #include "rethook.h"
|
H A D | Makefile | 3 obj-$(CONFIG_RETHOOK) += rethook.o rethook_trampoline.o
|
/linux-master/arch/loongarch/kernel/ |
H A D | rethook.c | 7 #include <linux/rethook.h> 8 #include "rethook.h" 27 /* ASM function that handles the rethook must not be probed itself */
|
H A D | Makefile | 75 obj-$(CONFIG_RETHOOK) += rethook.o rethook_trampoline.o
|
/linux-master/arch/s390/kernel/ |
H A D | rethook.c | 2 #include <linux/rethook.h> 4 #include "rethook.h" 33 /* assembler function that handles the rethook must not be probed itself */
|
H A D | Makefile | 62 obj-$(CONFIG_RETHOOK) += rethook.o
|
/linux-master/arch/x86/kernel/ |
H A D | rethook.c | 3 * 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 D | Makefile | 102 obj-$(CONFIG_RETHOOK) += rethook.o
|
/linux-master/arch/s390/include/asm/ |
H A D | unwind.h | 7 #include <linux/rethook.h> 46 /* Recover the return address modified by rethook and ftrace_graph. */
|
/linux-master/arch/x86/include/asm/ |
H A D | unwind.h | 7 #include <linux/rethook.h> 118 /* Recover the return address modified by rethook and ftrace_graph. */
|
/linux-master/kernel/ |
H A D | exit.c | 69 #include <linux/rethook.h>
|
Completed in 166 milliseconds