Searched refs:fprobe (Results 1 - 8 of 8) sorted by relevance
/linux-master/include/linux/ |
H A D | fprobe.h | 11 * struct fprobe - ftrace based probe. 21 struct fprobe { struct 25 * But user of fprobe may keep embedding the struct fprobe on their own 26 * code. To avoid build error, this will keep the fprobe data structure 37 int (*entry_handler)(struct fprobe *fp, unsigned long entry_ip, 40 void (*exit_handler)(struct fprobe *fp, unsigned long entry_ip, 45 /* This fprobe is soft-disabled. */ 49 * This fprobe handler will be shared with kprobes. 54 static inline bool fprobe_disabled(struct fprobe *f [all...] |
/linux-master/kernel/trace/ |
H A D | fprobe.c | 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 [all...] |
H A D | Makefile | 106 obj-$(CONFIG_FPROBE) += fprobe.o
|
H A D | trace_fprobe.c | 9 #include <linux/fprobe.h> 45 struct fprobe fp; 218 static int trace_fprobe_entry_handler(struct fprobe *fp, unsigned long entry_ip, 340 static int fentry_dispatcher(struct fprobe *fp, unsigned long entry_ip, 357 static void fexit_dispatcher(struct fprobe *fp, unsigned long entry_ip, 382 * Allocate new trace_probe and initialize it (including fprobe). 480 /* TODO: check the fprobe is gone */ 675 /* Internal register function - just handle fprobe and flags */ 680 /* Should we need new LOCKDOWN flag for fprobe? */ 704 * Here, we do 2 steps to enable fprobe o [all...] |
H A D | bpf_trace.c | 21 #include <linux/fprobe.h> 2583 struct fprobe fp; 2824 kprobe_multi_link_handler(struct fprobe *fp, unsigned long fentry_ip, 2836 kprobe_multi_link_exit_handler(struct fprobe *fp, unsigned long fentry_ip,
|
/linux-master/lib/ |
H A D | test_fprobe.c | 3 * test_fprobe.c - simple sanity test for fprobe 7 #include <linux/fprobe.h> 41 static notrace int fp_entry_handler(struct fprobe *fp, unsigned long ip, 60 static notrace void fp_exit_handler(struct fprobe *fp, unsigned long ip, 82 static notrace int nest_entry_handler(struct fprobe *fp, unsigned long ip, 90 static notrace void nest_exit_handler(struct fprobe *fp, unsigned long ip, 101 struct fprobe fp_entry = { 128 struct fprobe fp = { 154 struct fprobe fp = { 180 struct fprobe f [all...] |
/linux-master/samples/fprobe/ |
H A D | fprobe_example.c | 3 * Here's a sample kernel module showing the use of fprobe to dump a 17 #include <linux/fprobe.h> 23 static struct fprobe sample_probe; 51 static int sample_entry_handler(struct fprobe *fp, unsigned long ip, 69 static void sample_exit_handler(struct fprobe *fp, unsigned long ip, 100 /* filter based fprobe */ 138 pr_info("Planted fprobe at %s\n", symbol); 147 pr_info("fprobe at %s unregistered. %ld times hit, %ld times missed\n",
|
/linux-master/samples/ |
H A D | Makefile | 40 obj-$(CONFIG_SAMPLE_FPROBE) += fprobe/
|
Completed in 183 milliseconds