Home
last modified time | relevance | path

Searched refs:fprobe (Results 1 – 19 of 19) 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/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/kernel/trace/
H A Dfprobe.c110 static bool is_fprobe_still_exist(struct fprobe *fp) in is_fprobe_still_exist()
125 static int add_fprobe_hash(struct fprobe *fp) in add_fprobe_hash()
143 static int del_fprobe_hash(struct fprobe *fp) in del_fprobe_hash()
166 struct fprobe *fp, unsigned int size_words) in write_fprobe_header()
177 struct fprobe **fp, unsigned int *size_words) in read_fprobe_header()
187 struct fprobe *fp;
194 struct fprobe *fp, unsigned int size_words) in write_fprobe_header()
207 struct fprobe **fp, unsigned int *size_words) in read_fprobe_header()
227 struct fprobe *fp, struct ftrace_regs *fregs, in __fprobe_handler()
237 struct fprobe *fp, struct ftrace_regs *fregs, in __fprobe_kprobe_handler()
[all …]
H A DMakefile123 obj-$(CONFIG_FPROBE) += fprobe.o
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 DKconfig22 features like fprobe and kprobes.
360 bool "Kernel Function Probe (fprobe)"
366 This option enables kernel function probe (fprobe) based on ftrace.
367 The fprobe is similar to kprobes, but probes only for kernel function
369 fprobe.
756 bool "Enable fprobe-based dynamic events"
765 transparently converted to this fprobe events.
H A Dbpf_trace.c2280 struct fprobe fp;
2575 kprobe_multi_link_handler(struct fprobe *fp, unsigned long fentry_ip, in kprobe_multi_link_handler()
2589 kprobe_multi_link_exit_handler(struct fprobe *fp, unsigned long fentry_ip, in kprobe_multi_link_exit_handler()
/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/arch/x86/include/asm/
H A DKbuild14 generic-y += fprobe.h
/linux/arch/riscv/include/asm/
H A DKbuild7 generic-y += fprobe.h
/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 Dindex.rst40 fprobe
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/arm64/include/asm/
H A DKbuild11 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.debug2347 bool "Self test for fprobe"
2352 This option will enable testing the fprobe when the system boot.
2353 A series of tests are made to verify that the fprobe is functioning