Searched refs:fprobe (Results 1 – 12 of 12) sorted by relevance
/Linux-v6.1/include/linux/ |
D | fprobe.h | 19 struct fprobe { struct 33 void (*entry_handler)(struct fprobe *fp, unsigned long entry_ip, struct pt_regs *regs); argument 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); 62 static inline int register_fprobe(struct fprobe *fp, const char *filter, const char *notfilter) in register_fprobe() [all …]
|
/Linux-v6.1/Documentation/trace/ |
D | fprobe.rst | 15 use fprobe. Compared with kprobes and kretprobes, fprobe gives faster 17 describes how to use fprobe. 19 The usage of fprobe 22 The fprobe is a wrapper of ftrace (+ kretprobe-like return callback) to 24 the `struct fprobe` and pass it to `register_fprobe()`. 26 Typically, `fprobe` data structure is initialized with the `entry_handler` 31 struct fprobe fp = { 36 To enable the fprobe, call one of register_fprobe(), register_fprobe_ips(), and 37 register_fprobe_syms(). These functions register the fprobe with different types 40 The register_fprobe() enables a fprobe by function-name filters. [all …]
|
D | index.rst | 12 fprobe
|
/Linux-v6.1/kernel/trace/ |
D | fprobe.c | 27 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 …]
|
D | Makefile | 105 obj-$(CONFIG_FPROBE) += fprobe.o
|
D | Kconfig | 22 features like fprobe and kprobes. 259 bool "Kernel Function Probe (fprobe)" 266 This option enables kernel function probe (fprobe) based on ftrace. 267 The fprobe is similar to kprobes, but probes only for kernel function 269 fprobe.
|
D | bpf_trace.c | 2451 struct fprobe fp; 2627 kprobe_multi_link_handler(struct fprobe *fp, unsigned long fentry_ip, in kprobe_multi_link_handler()
|
/Linux-v6.1/lib/ |
D | test_fprobe.c | 33 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()
|
D | Kconfig.debug | 2127 bool "Self test for fprobe" 2132 This option will enable testing the fprobe when the system boot. 2133 A series of tests are made to verify that the fprobe is functioning
|
/Linux-v6.1/samples/fprobe/ |
D | fprobe_example.c | 23 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-v6.1/samples/ |
D | Makefile | 37 obj-$(CONFIG_SAMPLE_FPROBE) += fprobe/
|
D | Kconfig | 83 tristate "Build fprobe examples -- loadable modules only" 86 This builds a fprobe example module. This module has an option 'symbol'.
|