| /linux/include/linux/ |
| H A D | fprobe.h | 13 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 D | test_fprobe.c | 35 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 D | fprobe.c | 110 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 D | Makefile | 123 obj-$(CONFIG_FPROBE) += fprobe.o
|
| H A D | trace_fprobe.c | 190 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 D | Kconfig | 22 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 D | bpf_trace.c | 2280 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 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()
|
| /linux/include/asm-generic/ |
| H A D | fprobe.h | 42 ((struct fprobe *)(((unsigned long)(val) & FPROBE_HEADER_MSB_MASK) | \
|
| /linux/arch/x86/include/asm/ |
| H A D | Kbuild | 14 generic-y += fprobe.h
|
| /linux/arch/riscv/include/asm/ |
| H A D | Kbuild | 7 generic-y += fprobe.h
|
| /linux/Documentation/trace/ |
| 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 164 Here is an example to add fprobe events on ``vfs_read()`` function entry
|
| H A D | index.rst | 40 fprobe
|
| H A D | eprobetrace.rst | 68 attach to a kprobe event, a synthetic event or a fprobe event. This is useful
|
| H A D | kprobetrace.rst | 80 See the :ref:`sample<fprobetrace_exit_args_sample>` in fprobe event for how
|
| /linux/arch/arm64/include/asm/ |
| H A D | Kbuild | 11 generic-y += fprobe.h
|
| /linux/samples/ |
| H A D | Makefile | 41 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'.
|
| /linux/lib/ |
| H A D | Kconfig.debug | 2347 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
|