Home
last modified time | relevance | path

Searched refs:fprobe (Results 1 – 12 of 12) sorted by relevance

/linux-6.3-rc2/include/linux/
A Dfprobe.h19 struct fprobe { struct
34 void (*exit_handler)(struct fprobe *fp, unsigned long entry_ip, struct pt_regs *regs); argument
46 static inline bool fprobe_disabled(struct fprobe *fp) in fprobe_disabled()
51 static inline bool fprobe_shared_with_kprobes(struct fprobe *fp) in fprobe_shared_with_kprobes()
57 int register_fprobe(struct fprobe *fp, const char *filter, const char *notfilter);
58 int register_fprobe_ips(struct fprobe *fp, unsigned long *addrs, int num);
59 int register_fprobe_syms(struct fprobe *fp, const char **syms, int num);
60 int unregister_fprobe(struct fprobe *fp);
74 static inline int unregister_fprobe(struct fprobe *fp) in unregister_fprobe()
87 static inline void disable_fprobe(struct fprobe *fp) in disable_fprobe()
[all …]
/linux-6.3-rc2/Documentation/trace/
A Dfprobe.rst15 use fprobe. Compared with kprobes and kretprobes, fprobe gives faster
17 describes how to use fprobe.
19 The usage of fprobe
31 struct fprobe fp = {
77 #include <linux/fprobe.h>
87 The fprobe entry/exit handler
121 code from the fprobe and the kprobes.
126 call another (or same) fprobe while the fprobe user handler is running.
149 The `fprobe` data structure has `fprobe::nmissed` counter field as same as
164 `fprobe::ops::flags` (ftrace_ops::flags) when registering the fprobe, this
[all …]
A Dindex.rst12 fprobe
/linux-6.3-rc2/kernel/trace/
A Dfprobe.c27 struct fprobe *fp; in fprobe_handler()
30 fp = container_of(ops, struct fprobe, ops); in fprobe_handler()
62 struct fprobe *fp = container_of(ops, struct fprobe, ops); in fprobe_kprobe_handler()
76 struct fprobe *fp = (struct fprobe *)data; in fprobe_exit_handler()
116 static void fprobe_init(struct fprobe *fp) in fprobe_init()
126 static int fprobe_init_rethook(struct fprobe *fp, int num) in fprobe_init_rethook()
160 static void fprobe_fail_cleanup(struct fprobe *fp) in fprobe_fail_cleanup()
181 int register_fprobe(struct fprobe *fp, const char *filter, const char *notfilter) in register_fprobe()
240 int register_fprobe_ips(struct fprobe *fp, unsigned long *addrs, int num) in register_fprobe_ips()
274 int register_fprobe_syms(struct fprobe *fp, const char **syms, int num) in register_fprobe_syms()
[all …]
A DMakefile105 obj-$(CONFIG_FPROBE) += fprobe.o
A DKconfig22 features like fprobe and kprobes.
273 bool "Kernel Function Probe (fprobe)"
280 This option enables kernel function probe (fprobe) based on ftrace.
281 The fprobe is similar to kprobes, but probes only for kernel function
283 fprobe.
A Dbpf_trace.c2460 struct fprobe fp;
2648 kprobe_multi_link_handler(struct fprobe *fp, unsigned long fentry_ip, in kprobe_multi_link_handler()
/linux-6.3-rc2/lib/
A Dtest_fprobe.c33 static notrace void fp_entry_handler(struct fprobe *fp, unsigned long ip, struct pt_regs *regs) in fp_entry_handler()
42 static notrace void fp_exit_handler(struct fprobe *fp, unsigned long ip, struct pt_regs *regs) in fp_exit_handler()
59 struct fprobe fp_entry = { in test_fprobe_entry()
86 struct fprobe fp = { in test_fprobe()
112 struct fprobe fp = { in test_fprobe_syms()
A DKconfig.debug2151 bool "Self test for fprobe"
2156 This option will enable testing the fprobe when the system boot.
2157 A series of tests are made to verify that the fprobe is functioning
/linux-6.3-rc2/samples/fprobe/
A Dfprobe_example.c23 static struct fprobe sample_probe;
51 static void sample_entry_handler(struct fprobe *fp, unsigned long ip, struct pt_regs *regs) in sample_entry_handler()
66 static void sample_exit_handler(struct fprobe *fp, unsigned long ip, struct pt_regs *regs) in sample_exit_handler()
/linux-6.3-rc2/samples/
A DMakefile38 obj-$(CONFIG_SAMPLE_FPROBE) += fprobe/
A DKconfig90 tristate "Build fprobe examples -- loadable modules only"
93 This builds a fprobe example module. This module has an option 'symbol'.

Completed in 27 milliseconds