Home
last modified time | relevance | path

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

/linux/include/linux/
H A Dfprobe.h13 struct fprobe;
14 typedef int (*fprobe_entry_cb)(struct fprobe *fp, unsigned long entry_ip,
18 typedef void (*fprobe_exit_cb)(struct fprobe *fp, unsigned long entry_ip,
32 struct fprobe *fp;
47 struct fprobe *fp;
62 struct fprobe { struct
82 static inline bool fprobe_disabled(struct fprobe *fp) in fprobe_disabled()
87 static inline bool fprobe_shared_with_kprobes(struct fprobe *fp) in fprobe_shared_with_kprobes()
93 int register_fprobe(struct fprobe *fp, const char *filter, const char *notfilter);
94 int register_fprobe_ips(struct fprobe *fp, unsigned long *addrs, int num);
[all …]
/linux/kernel/trace/
H A Dfprobe.c82 static int __insert_fprobe_node(struct fprobe_hlist_node *node, struct fprobe *fp) in __insert_fprobe_node()
108 static bool fprobe_registered(struct fprobe *fp) in fprobe_registered()
123 static int add_fprobe_hash(struct fprobe *fp) in add_fprobe_hash()
138 static int del_fprobe_hash(struct fprobe *fp) in del_fprobe_hash()
161 struct fprobe *fp, unsigned int size_words) in write_fprobe_header()
172 struct fprobe **fp, unsigned int *size_words) in read_fprobe_header()
182 struct fprobe *fp;
189 struct fprobe *fp, unsigned int size_words) in write_fprobe_header()
202 struct fprobe **fp, unsigned int *size_words) in read_fprobe_header()
222 struct fprobe *fp, struct ftrace_regs *fregs, in __fprobe_handler()
[all …]
H A Dtrace_fprobe.c190 struct fprobe fp;
393 static int trace_fprobe_entry_handler(struct fprobe *fp, unsigned long entry_ip, in trace_fprobe_entry_handler()
521 static int fentry_dispatcher(struct fprobe *fp, unsigned long entry_ip, in fentry_dispatcher()
540 static void fexit_dispatcher(struct fprobe *fp, unsigned long entry_ip, in fexit_dispatcher()
H A DMakefile125 obj-$(CONFIG_FPROBE) += fprobe.o
H A Dbpf_trace.c2293 struct fprobe fp;
2592 kprobe_multi_link_handler(struct fprobe *fp, unsigned long fentry_ip, in kprobe_multi_link_handler()
2606 kprobe_multi_link_exit_handler(struct fprobe *fp, unsigned long fentry_ip, in kprobe_multi_link_exit_handler()
/linux/lib/tests/
H A Dtest_fprobe.c35 static notrace int fp_entry_handler(struct fprobe *fp, unsigned long ip, in fp_entry_handler()
54 static notrace void fp_exit_handler(struct fprobe *fp, unsigned long ip, in fp_exit_handler()
79 struct fprobe fp_entry = { in test_fprobe_entry()
106 struct fprobe fp = { in test_fprobe()
132 struct fprobe fp = { in test_fprobe_syms()
158 struct fprobe fp = { in test_fprobe_data()
174 struct fprobe fp = { in test_fprobe_skip()
195 static notrace int entry_only_handler(struct fprobe *fp, unsigned long ip, in entry_only_handler()
208 static notrace int fprobe_entry_multi_handler(struct fprobe *fp, unsigned long ip, in fprobe_entry_multi_handler()
222 static notrace void fprobe_exit_multi_handler(struct fprobe *fp, unsigned long ip, in fprobe_exit_multi_handler()
[all …]
/linux/samples/fprobe/
H 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/include/asm-generic/
H A Dfprobe.h42 ((struct fprobe *)(((unsigned long)(val) & FPROBE_HEADER_MSB_MASK) | \
/linux/Documentation/trace/
H 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
H A Deprobetrace.rst68 attach to a kprobe event, a synthetic event or a fprobe event. This is useful
H A Dkprobetrace.rst80 See the :ref:`sample<fprobetrace_exit_args_sample>` in fprobe event for how
/linux/arch/x86/include/asm/
H A DKbuild14 generic-y += fprobe.h
/linux/arch/riscv/include/asm/
H A DKbuild7 generic-y += fprobe.h
/linux/samples/
H A DMakefile41 obj-$(CONFIG_SAMPLE_FPROBE) += fprobe/
H A DKconfig90 tristate "Build fprobe examples -- loadable modules only"
93 This builds a fprobe example module. This module has an option 'symbol'.
/linux/lib/
H A DKconfig.debug2398 bool "Self test for fprobe"
2403 This option will enable testing the fprobe when the system boot.
2404 A series of tests are made to verify that the fprobe is functioning