/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() 65 int register_fprobe(struct fprobe *fp, const char *filter, const char *notfilter); 66 int register_fprobe_ips(struct fprobe *fp, unsigned long *addrs, int num); 67 int register_fprobe_syms(struct fprobe *fp, const char **syms, int num); 68 int unregister_fprobe(struct fprobe *fp); 69 bool fprobe_is_registered(struct fprobe *fp); [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 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 …]
|
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
|
H A D | index.rst | 12 fprobe
|
/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() 188 static int fprobe_init_rethook(struct fprobe *fp, int num) in fprobe_init_rethook() 225 static void fprobe_fail_cleanup(struct fprobe *fp) in fprobe_fail_cleanup() [all …]
|
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 | Makefile | 106 obj-$(CONFIG_FPROBE) += fprobe.o
|
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 | 2523 struct fprobe fp; 2747 kprobe_multi_link_handler(struct fprobe *fp, unsigned long fentry_ip, in kprobe_multi_link_handler() 2759 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/linux/ |
H A D | opengrok1.0.log | [all...] |
H A D | opengrok2.0.log | [all...] |
H A D | opengrok0.0.log | [all...] |
/openbmc/ |
D | opengrok1.0.log | [all...] |
D | opengrok2.0.log | [all...] |