| /linux-6.15/include/linux/ |
| H A D | fprobe.h | 12 struct fprobe; 31 struct fprobe *fp; 46 struct fprobe *fp; 61 struct fprobe { struct 81 static inline bool fprobe_disabled(struct fprobe *fp) in fprobe_disabled() 95 int unregister_fprobe(struct fprobe *fp); 96 bool fprobe_is_registered(struct fprobe *fp); 110 static inline int unregister_fprobe(struct fprobe *fp) in unregister_fprobe() 114 static inline bool fprobe_is_registered(struct fprobe *fp) in fprobe_is_registered() 127 static inline void disable_fprobe(struct fprobe *fp) in disable_fprobe() [all …]
|
| /linux-6.15/Documentation/trace/ |
| H A D | fprobe.rst | 16 use fprobe. Compared with kprobes and kretprobes, fprobe gives faster 18 describes how to use fprobe. 20 The usage of fprobe 32 struct fprobe fp = { 78 #include <linux/fprobe.h> 88 The fprobe entry/exit handler 145 code from the fprobe and the kprobes. 150 call another (or same) fprobe while the fprobe user handler is running. 173 The `fprobe` data structure has `fprobe::nmissed` counter field as same as 188 `fprobe::ops::flags` (ftrace_ops::flags) when registering the fprobe, this [all …]
|
| H A D | index.rst | 12 fprobe
|
| 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 | kprobetrace.rst | 80 See the :ref:`sample<fprobetrace_exit_args_sample>` in fprobe event for how
|
| /linux-6.15/kernel/trace/ |
| H A D | fprobe.c | 116 static int add_fprobe_hash(struct fprobe *fp) in add_fprobe_hash() 134 static int del_fprobe_hash(struct fprobe *fp) in del_fprobe_hash() 157 struct fprobe *fp, unsigned int size_words) in write_fprobe_header() 168 struct fprobe **fp, unsigned int *size_words) in read_fprobe_header() 178 struct fprobe *fp; 185 struct fprobe *fp, unsigned int size_words) in write_fprobe_header() 198 struct fprobe **fp, unsigned int *size_words) in read_fprobe_header() 257 struct fprobe *fp; in fprobe_entry() 345 struct fprobe *fp; in fprobe_return() 768 bool fprobe_is_registered(struct fprobe *fp) in fprobe_is_registered() [all …]
|
| H A D | Makefile | 106 obj-$(CONFIG_FPROBE) += fprobe.o
|
| H A D | trace_fprobe.c | 46 struct fprobe fp; 249 static int trace_fprobe_entry_handler(struct fprobe *fp, unsigned long entry_ip, in trace_fprobe_entry_handler() 377 static int fentry_dispatcher(struct fprobe *fp, unsigned long entry_ip, in fentry_dispatcher() 395 static void fexit_dispatcher(struct fprobe *fp, unsigned long entry_ip, in fexit_dispatcher()
|
| H A D | Kconfig | 22 features like fprobe and kprobes. 320 bool "Kernel Function Probe (fprobe)" 326 This option enables kernel function probe (fprobe) based on ftrace. 327 The fprobe is similar to kprobes, but probes only for kernel function 329 fprobe. 702 bool "Enable fprobe-based dynamic events" 711 transparently converted to this fprobe events.
|
| H A D | bpf_trace.c | 2568 struct fprobe fp; 2832 kprobe_multi_link_handler(struct fprobe *fp, unsigned long fentry_ip, in kprobe_multi_link_handler() 2846 kprobe_multi_link_exit_handler(struct fprobe *fp, unsigned long fentry_ip, in kprobe_multi_link_exit_handler()
|
| /linux-6.15/lib/tests/ |
| H A D | test_fprobe.c | 34 static notrace int fp_entry_handler(struct fprobe *fp, unsigned long ip, in fp_entry_handler() 53 static notrace void fp_exit_handler(struct fprobe *fp, unsigned long ip, in fp_exit_handler() 78 struct fprobe fp_entry = { in test_fprobe_entry() 105 struct fprobe fp = { in test_fprobe() 131 struct fprobe fp = { in test_fprobe_syms() 157 struct fprobe fp = { in test_fprobe_data() 173 struct fprobe fp = { in test_fprobe_skip()
|
| /linux-6.15/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-6.15/include/asm-generic/ |
| H A D | fprobe.h | 42 ((struct fprobe *)(((unsigned long)(val) & FPROBE_HEADER_MSB_MASK) | \
|
| /linux-6.15/arch/x86/include/asm/ |
| H A D | Kbuild | 14 generic-y += fprobe.h
|
| /linux-6.15/arch/riscv/include/asm/ |
| H A D | Kbuild | 7 generic-y += fprobe.h
|
| /linux-6.15/arch/arm64/include/asm/ |
| H A D | Kbuild | 11 generic-y += fprobe.h
|
| /linux-6.15/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-6.15/lib/ |
| H A D | Kconfig.debug | 2357 bool "Self test for fprobe" 2362 This option will enable testing the fprobe when the system boot. 2363 A series of tests are made to verify that the fprobe is functioning
|