Searched refs:kretprobe (Results 1 – 18 of 18) sorted by relevance
| /Linux-v6.1/include/linux/ |
| D | kprobes.h | 52 struct kretprobe; 143 struct kretprobe *rp; 147 struct kretprobe { struct 203 static nokprobe_inline struct kretprobe *get_kretprobe(struct kretprobe_instance *ri) in get_kretprobe() 208 return (struct kretprobe *)READ_ONCE(ri->node.rethook->data); in get_kretprobe() 251 static nokprobe_inline struct kretprobe *get_kretprobe(struct kretprobe_instance *ri) in get_kretprobe() 266 static inline void arch_prepare_kretprobe(struct kretprobe *rp, in arch_prepare_kretprobe() 423 int register_kretprobe(struct kretprobe *rp); 424 void unregister_kretprobe(struct kretprobe *rp); 425 int register_kretprobes(struct kretprobe **rps, int num); [all …]
|
| D | trace_events.h | 586 bool kretprobe,
|
| /Linux-v6.1/lib/ |
| D | test_kprobes.c | 160 static struct kretprobe rp = { 185 static struct kretprobe rp2 = { 193 struct kretprobe *rps[2] = {&rp, &rp2}; in test_kretprobes() 250 static struct kretprobe rp3 = { 311 static struct kretprobe rp4 = { 319 struct kretprobe *rps[2] = {&rp3, &rp4}; in test_stacktrace_on_nested_kretprobe()
|
| D | Kconfig.debug | 2121 boot. Samples of kprobe and kretprobe are inserted and
|
| /Linux-v6.1/Documentation/trace/ |
| D | kprobes.rst | 58 a kretprobe. But if you're in a hurry to start using Kprobes, you 120 kretprobe, then sets the saved instruction pointer to the saved return 126 kretprobe struct to specify how many instances of the specified 138 some probes. In the kretprobe struct, the nmissed field is set to 148 field of the kretprobe struct. Whenever the kprobe placed by kretprobe at the 153 the kretprobe has no further effect for that particular function instance. 160 private data object can be specified at kretprobe registration time by 161 setting the data_size field of the kretprobe struct. This data can be 421 int register_kretprobe(struct kretprobe *rp); 443 - rp: points to the corresponding kretprobe object [all …]
|
| D | kprobetrace.rst | 10 this is based on kprobes (kprobe and kretprobe). So it can probe wherever 185 This sets a kretprobe on the return point of do_sys_open() function with
|
| D | events.rst | 567 kretprobe events. 578 - dynamically creating kprobe and kretprobe event definitions 897 7.3 Dyamically creating kprobe and kretprobe event definitions 900 To create a kprobe or kretprobe trace event from kernel code, the 941 or kretprobe command was started:: 952 Similarly, a kretprobe event can be created using
|
| D | fprobe.rst | 22 The fprobe is a wrapper of ftrace (+ kretprobe-like return callback) to
|
| /Linux-v6.1/tools/bpf/bpftool/Documentation/ |
| D | bpftool-perf.rst | 57 pid 21765 fd 5: prog_id 7 kretprobe func __x64_sys_nanosleep offset 0 67 … {"pid":21765,"fd":5,"prog_id":7,"fd_type":"kretprobe","func":"__x64_sys_nanosleep","offset":0}, \
|
| D | bpftool-prog.rst | 45 | **socket** | **kprobe** | **kretprobe** | **classifier** | **action** |
|
| /Linux-v6.1/kernel/ |
| D | kprobes.c | 1883 struct kretprobe *rp = get_kretprobe(ri); in recycle_rp_inst() 1921 static inline void free_rp_inst(struct kretprobe *rp) in free_rp_inst() 2016 struct kretprobe *rp; in __kretprobe_trampoline_handler() 2080 struct kretprobe *rp = container_of(p, struct kretprobe, kp); in NOKPROBE_SYMBOL() 2111 struct kretprobe *rp = container_of(p, struct kretprobe, kp); in pre_handler_kretprobe() 2135 struct kretprobe *rp = (struct kretprobe *)data; in kretprobe_rethook_handler() 2183 int register_kretprobe(struct kretprobe *rp) in register_kretprobe() 2275 int register_kretprobes(struct kretprobe **rps, int num) in register_kretprobes() 2293 void unregister_kretprobe(struct kretprobe *rp) in unregister_kretprobe() 2299 void unregister_kretprobes(struct kretprobe **rps, int num) in unregister_kretprobes() [all …]
|
| /Linux-v6.1/tools/testing/selftests/bpf/benchs/ |
| D | run_bench_rename.sh | 5 for i in base kprobe kretprobe rawtp fentry fexit fmodret
|
| /Linux-v6.1/samples/kprobes/ |
| D | kretprobe_example.c | 72 static struct kretprobe my_kretprobe = {
|
| /Linux-v6.1/kernel/trace/ |
| D | trace_kprobe.c | 60 struct kretprobe rp; /* Use rp.kp for kprobe use */ 965 int __kprobe_event_gen_cmd_start(struct dynevent_cmd *cmd, bool kretprobe, in __kprobe_event_gen_cmd_start() argument 979 if (kretprobe) in __kprobe_event_gen_cmd_start() 1674 struct kretprobe *rp = get_kretprobe(ri); in kretprobe_dispatcher()
|
| /Linux-v6.1/arch/s390/lib/ |
| D | test_unwind.c | 191 struct kretprobe my_kretprobe; in test_unwind_kretprobe()
|
| /Linux-v6.1/arch/arm/probes/kprobes/ |
| D | test-core.c | 378 static struct kretprobe the_kretprobe = {
|
| /Linux-v6.1/tools/bpf/bpftool/bash-completion/ |
| D | bpftool | 473 kretprobe classifier flow_dissector \
|
| /Linux-v6.1/arch/ |
| D | Kconfig | 209 stacktrace may see the kretprobe trampoline address instead
|