Home
last modified time | relevance | path

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

/linux/include/linux/
A Dfprobe.h10 struct fprobe;
12 typedef int (*fprobe_entry_cb)(struct fprobe *fp, unsigned long entry_ip,
31 struct fprobe { struct
60 static inline bool fprobe_disabled(struct fprobe *fp) in fprobe_disabled()
65 static inline bool fprobe_shared_with_kprobes(struct fprobe *fp) in fprobe_shared_with_kprobes()
74 int unregister_fprobe(struct fprobe *fp);
75 bool fprobe_is_registered(struct fprobe *fp);
89 static inline int unregister_fprobe(struct fprobe *fp) in unregister_fprobe()
93 static inline bool fprobe_is_registered(struct fprobe *fp) in fprobe_is_registered()
106 static inline void disable_fprobe(struct fprobe *fp) in disable_fprobe()
[all …]
/linux/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
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 …]
A Dindex.rst12 fprobe
A Dfprobetrace.rst21 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
164 Here is an example to add fprobe events on ``vfs_read()`` function entry
A Dkprobetrace.rst80 See the :ref:`sample<fprobetrace_exit_args_sample>` in fprobe event for how
/linux/kernel/trace/
A Dfprobe.c29 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()
215 static void fprobe_fail_cleanup(struct fprobe *fp) in fprobe_fail_cleanup()
349 bool fprobe_is_registered(struct fprobe *fp) in fprobe_is_registered()
[all …]
A DMakefile106 obj-$(CONFIG_FPROBE) += fprobe.o
A Dtrace_fprobe.c46 struct fprobe fp;
219 static int trace_fprobe_entry_handler(struct fprobe *fp, unsigned long entry_ip, in trace_fprobe_entry_handler()
341 static int fentry_dispatcher(struct fprobe *fp, unsigned long entry_ip, in fentry_dispatcher()
358 static void fexit_dispatcher(struct fprobe *fp, unsigned long entry_ip, in fexit_dispatcher()
A DKconfig22 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.
A Dbpf_trace.c2521 struct fprobe fp;
2769 kprobe_multi_link_handler(struct fprobe *fp, unsigned long fentry_ip, in kprobe_multi_link_handler()
2782 kprobe_multi_link_exit_handler(struct fprobe *fp, unsigned long fentry_ip, in kprobe_multi_link_exit_handler()
/linux/lib/
A Dtest_fprobe.c41 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()
A DKconfig.debug2346 bool "Self test for fprobe"
2351 This option will enable testing the fprobe when the system boot.
2352 A series of tests are made to verify that the fprobe is functioning
/linux/samples/fprobe/
A Dfprobe_example.c23 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()
/linux/samples/
A DMakefile40 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 40 milliseconds