Lines Matching refs:fprobe
3 * fprobe - Simple ftrace probe wrapper for function entry.
5 #define pr_fmt(fmt) "fprobe: " fmt
8 #include <linux/fprobe.h>
29 struct fprobe *fp;
33 fp = container_of(ops, struct fprobe, ops);
63 struct fprobe *fp;
66 fp = container_of(ops, struct fprobe, ops);
87 struct fprobe *fp;
90 fp = container_of(ops, struct fprobe, ops);
107 * in Documentation/trace/fprobe.rst for more information.
125 struct fprobe *fp = (struct fprobe *)data;
178 static void fprobe_init(struct fprobe *fp)
188 static int fprobe_init_rethook(struct fprobe *fp, int num)
215 static void fprobe_fail_cleanup(struct fprobe *fp)
226 * register_fprobe() - Register fprobe to ftrace by pattern.
227 * @fp: A fprobe data structure to be registered.
236 int register_fprobe(struct fprobe *fp, const char *filter, const char *notfilter)
283 * register_fprobe_ips() - Register fprobe to ftrace by address.
284 * @fp: A fprobe data structure to be registered.
295 int register_fprobe_ips(struct fprobe *fp, unsigned long *addrs, int num)
319 * register_fprobe_syms() - Register fprobe to ftrace by symbols.
320 * @fp: A fprobe data structure to be registered.
329 int register_fprobe_syms(struct fprobe *fp, const char **syms, int num)
349 bool fprobe_is_registered(struct fprobe *fp)
358 * unregister_fprobe() - Unregister fprobe from ftrace
359 * @fp: A fprobe data structure to be unregistered.
361 * Unregister fprobe (and remove ftrace hooks from the function entries).
365 int unregister_fprobe(struct fprobe *fp)