Searched refs:rethook (Results 1 – 11 of 11) sorted by relevance
/linux/kernel/trace/ |
H A D | rethook.c | 37 struct rethook *rh = container_of(head, struct rethook, rcu); in rethook_free_rcu() 49 void rethook_stop(struct rethook *rh) in rethook_stop() 64 void rethook_free(struct rethook *rh) in rethook_free() 75 node->rethook = context; in rethook_init_node() 85 static inline rethook_handler_t rethook_get_handler(struct rethook *rh) in rethook_get_handler() 103 struct rethook *rethook_alloc(void *data, rethook_handler_t handler, in rethook_alloc() 106 struct rethook *rh; in rethook_alloc() 111 rh = kzalloc(sizeof(struct rethook), GFP_KERNEL); in rethook_alloc() 130 struct rethook *rh = node->rethook; in free_rethook_node_rcu() 146 handler = rethook_get_handler(node->rethook); in rethook_recycle() [all …]
|
H A D | fprobe.c | 36 rh = rethook_try_get(fp->rethook); in __fprobe_handler() 193 fp->rethook = NULL; in fprobe_init_rethook() 208 fp->rethook = rethook_alloc((void *)fp, fprobe_exit_handler, size, num); in fprobe_init_rethook() 209 if (IS_ERR(fp->rethook)) in fprobe_init_rethook() 210 return PTR_ERR(fp->rethook); in fprobe_init_rethook() 217 if (!IS_ERR_OR_NULL(fp->rethook)) { in fprobe_fail_cleanup() 219 rethook_free(fp->rethook); in fprobe_fail_cleanup() 220 fp->rethook = NULL; in fprobe_fail_cleanup() 372 if (!IS_ERR_OR_NULL(fp->rethook)) in unregister_fprobe() 373 rethook_stop(fp->rethook); in unregister_fprobe() [all …]
|
H A D | Makefile | 107 obj-$(CONFIG_RETHOOK) += rethook.o
|
/linux/include/linux/ |
H A D | rethook.h | 29 struct rethook { struct 55 struct rethook *rethook; member 60 struct rethook *rethook_alloc(void *data, rethook_handler_t handler, int size, int num); 61 void rethook_stop(struct rethook *rh); 62 void rethook_free(struct rethook *rh); 63 struct rethook_node *rethook_try_get(struct rethook *rh);
|
H A D | fprobe.h | 43 struct rethook *rethook; member
|
H A D | kprobes.h | 154 struct rethook *rh; 201 return (struct kretprobe *)ri->node.rethook->data; in get_kretprobe()
|
/linux/arch/riscv/kernel/probes/ |
H A D | Makefile | 3 obj-$(CONFIG_RETHOOK) += rethook.o rethook_trampoline.o
|
/linux/arch/s390/kernel/ |
H A D | Makefile | 64 obj-$(CONFIG_RETHOOK) += rethook.o
|
/linux/arch/x86/kernel/ |
H A D | Makefile | 106 obj-$(CONFIG_RETHOOK) += rethook.o
|
/linux/arch/powerpc/kernel/ |
H A D | Makefile | 142 obj-$(CONFIG_RETHOOK) += rethook.o
|
/linux/Documentation/trace/ |
H A D | fprobe.rst | 168 - fprobe fails to setup the function exit because of the shortage of rethook
|