/openbmc/linux/include/linux/ |
H A D | fprobe.h | 21 struct fprobe { struct 37 int (*entry_handler)(struct fprobe *fp, unsigned long entry_ip, argument 40 void (*exit_handler)(struct fprobe *fp, unsigned long entry_ip, argument 54 static inline bool fprobe_disabled(struct fprobe *fp) in fprobe_disabled() 59 static inline bool fprobe_shared_with_kprobes(struct fprobe *fp) in fprobe_shared_with_kprobes() 68 int unregister_fprobe(struct fprobe *fp); 69 bool fprobe_is_registered(struct fprobe *fp); 83 static inline int unregister_fprobe(struct fprobe *fp) in unregister_fprobe() 87 static inline bool fprobe_is_registered(struct fprobe *fp) in fprobe_is_registered() 100 static inline void disable_fprobe(struct fprobe *fp) in disable_fprobe() [all …]
|
/openbmc/linux/Documentation/trace/ |
H A 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 31 struct fprobe fp = { 77 #include <linux/fprobe.h> 87 The fprobe entry/exit handler 133 code from the fprobe and the kprobes. 138 call another (or same) fprobe while the fprobe user handler is running. 161 The `fprobe` data structure has `fprobe::nmissed` counter field as same as 176 `fprobe::ops::flags` (ftrace_ops::flags) when registering the fprobe, this [all …]
|
H A D | index.rst | 12 fprobe
|
H A D | fprobetrace.rst | 21 As same as other dynamic events, fprobe events and tracepoint probe 24 Synopsis of fprobe-events 32 GRP1 : Group name for fprobe. If omitted, use "fprobes" for it. 34 EVENT1 : Event name for fprobe. If omitted, the event name is 41 as defined in Documentation/trace/fprobe.rst 152 Here is an example to add fprobe events on ``vfs_read()`` function entry
|
/openbmc/linux/kernel/trace/ |
H A D | fprobe.c | 29 struct fprobe *fp; in __fprobe_handler() 33 fp = container_of(ops, struct fprobe, ops); in __fprobe_handler() 63 struct fprobe *fp; in fprobe_handler() 66 fp = container_of(ops, struct fprobe, ops); in fprobe_handler() 87 struct fprobe *fp; in fprobe_kprobe_handler() 90 fp = container_of(ops, struct fprobe, ops); in fprobe_kprobe_handler() 125 struct fprobe *fp = (struct fprobe *)data; in fprobe_exit_handler() 178 static void fprobe_init(struct fprobe *fp) in fprobe_init() 225 static void fprobe_fail_cleanup(struct fprobe *fp) in fprobe_fail_cleanup() 359 bool fprobe_is_registered(struct fprobe *fp) in fprobe_is_registered() [all …]
|
H A D | Makefile | 106 obj-$(CONFIG_FPROBE) += fprobe.o
|
H A D | trace_fprobe.c | 45 struct fprobe fp; 218 static int trace_fprobe_entry_handler(struct fprobe *fp, unsigned long entry_ip, in trace_fprobe_entry_handler() 340 static int fentry_dispatcher(struct fprobe *fp, unsigned long entry_ip, in fentry_dispatcher() 357 static void fexit_dispatcher(struct fprobe *fp, unsigned long entry_ip, in fexit_dispatcher()
|
H A D | Kconfig | 22 features like fprobe and kprobes. 288 bool "Kernel Function Probe (fprobe)" 295 This option enables kernel function probe (fprobe) based on ftrace. 296 The fprobe is similar to kprobes, but probes only for kernel function 298 fprobe. 671 bool "Enable fprobe-based dynamic events" 680 transparently converted to this fprobe events.
|
H A D | bpf_trace.c | 2511 struct fprobe fp; 2735 kprobe_multi_link_handler(struct fprobe *fp, unsigned long fentry_ip, in kprobe_multi_link_handler() 2747 kprobe_multi_link_exit_handler(struct fprobe *fp, unsigned long fentry_ip, in kprobe_multi_link_exit_handler()
|
/openbmc/linux/lib/ |
H A D | test_fprobe.c | 41 static notrace int fp_entry_handler(struct fprobe *fp, unsigned long ip, in fp_entry_handler() 60 static notrace void fp_exit_handler(struct fprobe *fp, unsigned long ip, in fp_exit_handler() 82 static notrace int nest_entry_handler(struct fprobe *fp, unsigned long ip, in nest_entry_handler() 90 static notrace void nest_exit_handler(struct fprobe *fp, unsigned long ip, in nest_exit_handler() 101 struct fprobe fp_entry = { in test_fprobe_entry() 128 struct fprobe fp = { in test_fprobe() 154 struct fprobe fp = { in test_fprobe_syms() 180 struct fprobe fp = { in test_fprobe_data() 198 struct fprobe fp = { in test_fprobe_nest() 215 struct fprobe fp = { in test_fprobe_skip()
|
H A D | Kconfig.debug | 2253 bool "Self test for fprobe" 2258 This option will enable testing the fprobe when the system boot. 2259 A series of tests are made to verify that the fprobe is functioning
|
/openbmc/linux/samples/fprobe/ |
H A D | fprobe_example.c | 23 static struct fprobe sample_probe; 51 static int sample_entry_handler(struct fprobe *fp, unsigned long ip, in sample_entry_handler() 69 static void sample_exit_handler(struct fprobe *fp, unsigned long ip, in sample_exit_handler()
|
/openbmc/linux/samples/ |
H A D | Makefile | 39 obj-$(CONFIG_SAMPLE_FPROBE) += fprobe/
|
H A D | Kconfig | 90 tristate "Build fprobe examples -- loadable modules only" 93 This builds a fprobe example module. This module has an option 'symbol'.
|
/openbmc/ |
H A D | opengrok1.0.log | 19111 …ilelessChildren: not file-less due to: /opengrok/data/xref/openbmc/linux/samples/fprobe/Makefile.gz 19112 …findFilelessChildren: its children prevent delete: /opengrok/data/xref/openbmc/linux/samples/fprobe
|
H A D | opengrok2.0.log | 18078 …ilelessChildren: not file-less due to: /opengrok/data/xref/openbmc/linux/samples/fprobe/Makefile.gz 18079 …findFilelessChildren: its children prevent delete: /opengrok/data/xref/openbmc/linux/samples/fprobe
|