Home
last modified time | relevance | path

Searched refs:rethook (Results 1 – 11 of 11) sorted by relevance

/openbmc/linux/kernel/trace/
H A Drethook.c38 struct rethook *rh = container_of(head, struct rethook, rcu); in rethook_free_rcu()
64 void rethook_stop(struct rethook *rh) in rethook_stop()
79 void rethook_free(struct rethook *rh) in rethook_free()
103 struct rethook *rh = kzalloc(sizeof(struct rethook), GFP_KERNEL); in rethook_alloc()
128 node->rethook = rh; in rethook_add_node()
137 if (refcount_dec_and_test(&node->rethook->ref)) in free_rethook_node_rcu()
138 kfree(node->rethook); in free_rethook_node_rcu()
153 handler = rethook_get_handler(node->rethook); in rethook_recycle()
155 freelist_add(&node->freelist, &node->rethook->pool); in rethook_recycle()
320 handler = rethook_get_handler(rhn->rethook); in rethook_trampoline_handler()
[all …]
H A Dfprobe.c196 fp->rethook = NULL; 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()
227 if (fp->rethook) { in fprobe_fail_cleanup()
229 rethook_free(fp->rethook); in fprobe_fail_cleanup()
230 fp->rethook = NULL; in fprobe_fail_cleanup()
382 if (fp->rethook) in unregister_fprobe()
383 rethook_stop(fp->rethook); in unregister_fprobe()
389 if (fp->rethook) in unregister_fprobe()
[all …]
H A DMakefile107 obj-$(CONFIG_RETHOOK) += rethook.o
/openbmc/linux/include/linux/
H A Drethook.h30 struct rethook { struct
61 struct rethook *rethook; member
66 struct rethook *rethook_alloc(void *data, rethook_handler_t handler);
67 void rethook_stop(struct rethook *rh);
68 void rethook_free(struct rethook *rh);
69 void rethook_add_node(struct rethook *rh, struct rethook_node *node);
70 struct rethook_node *rethook_try_get(struct rethook *rh);
H A Dfprobe.h33 struct rethook *rethook; member
H A Dkprobes.h155 struct rethook *rh;
206 return (struct kretprobe *)ri->node.rethook->data; in get_kretprobe()
/openbmc/linux/arch/riscv/kernel/probes/
H A DMakefile3 obj-$(CONFIG_RETHOOK) += rethook.o rethook_trampoline.o
/openbmc/linux/arch/loongarch/kernel/
H A DMakefile71 obj-$(CONFIG_RETHOOK) += rethook.o rethook_trampoline.o
/openbmc/linux/arch/s390/kernel/
H A DMakefile62 obj-$(CONFIG_RETHOOK) += rethook.o
/openbmc/linux/arch/x86/kernel/
H A DMakefile99 obj-$(CONFIG_RETHOOK) += rethook.o
/openbmc/linux/Documentation/trace/
H A Dfprobe.rst168 - fprobe fails to setup the function exit because of the shortage of rethook