Searched refs:kretprobe (Results 1 – 19 of 19) sorted by relevance
/linux-6.3-rc2/include/linux/ |
A D | kprobes.h | 52 struct kretprobe; 143 struct kretprobe *rp; 147 struct kretprobe { struct 208 return (struct kretprobe *)READ_ONCE(ri->node.rethook->data); in get_kretprobe() 425 int register_kretprobe(struct kretprobe *rp); 426 void unregister_kretprobe(struct kretprobe *rp); 427 int register_kretprobes(struct kretprobe **rps, int num); 428 void unregister_kretprobes(struct kretprobe **rps, int num); 484 static inline int register_kretprobe(struct kretprobe *rp) in register_kretprobe() 524 static inline int disable_kretprobe(struct kretprobe *rp) in disable_kretprobe() [all …]
|
A D | trace_events.h | 587 bool kretprobe,
|
/linux-6.3-rc2/lib/ |
A D | test_kprobes.c | 193 static struct kretprobe rp = { 218 static struct kretprobe rp2 = { 226 struct kretprobe *rps[2] = {&rp, &rp2}; in test_kretprobes() 283 static struct kretprobe rp3 = { 344 static struct kretprobe rp4 = { 352 struct kretprobe *rps[2] = {&rp3, &rp4}; in test_stacktrace_on_nested_kretprobe()
|
A D | Kconfig.debug | 2145 boot. Samples of kprobe and kretprobe are inserted and
|
/linux-6.3-rc2/Documentation/trace/ |
A D | kprobes.rst | 126 kretprobe struct to specify how many instances of the specified 147 field of the kretprobe struct. Whenever the kprobe placed by kretprobe at the 420 int register_kretprobe(struct kretprobe *rp); 442 - rp: points to the corresponding kretprobe object 460 void unregister_kretprobe(struct kretprobe *rp); 477 int register_kretprobes(struct kretprobe **rps, int num); 499 void unregister_kretprobes(struct kretprobe **rps, int num); 517 int disable_kretprobe(struct kretprobe *rp); 529 int enable_kretprobe(struct kretprobe *rp); 592 kretprobe BUG!: Processing kretprobe d000000000041aa8 @ c00000000004f48c [all …]
|
A D | kprobetrace.rst | 10 this is based on kprobes (kprobe and kretprobe). So it can probe wherever 194 This sets a kretprobe on the return point of do_sys_open() function with
|
A D | events.rst | 579 kretprobe events. 590 - dynamically creating kprobe and kretprobe event definitions 909 7.3 Dyamically creating kprobe and kretprobe event definitions 912 To create a kprobe or kretprobe trace event from kernel code, the 953 or kretprobe command was started:: 964 Similarly, a kretprobe event can be created using
|
A D | fprobe.rst | 22 The fprobe is a wrapper of ftrace (+ kretprobe-like return callback) to
|
/linux-6.3-rc2/tools/bpf/bpftool/Documentation/ |
A 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}, \
|
A D | bpftool-prog.rst | 45 | **socket** | **kprobe** | **kretprobe** | **classifier** | **action** |
|
/linux-6.3-rc2/kernel/ |
A D | kprobes.c | 1880 struct kretprobe *rp = get_kretprobe(ri); in recycle_rp_inst() 1918 static inline void free_rp_inst(struct kretprobe *rp) in free_rp_inst() 2013 struct kretprobe *rp; in __kretprobe_trampoline_handler() 2077 struct kretprobe *rp = container_of(p, struct kretprobe, kp); in NOKPROBE_SYMBOL() 2108 struct kretprobe *rp = container_of(p, struct kretprobe, kp); in pre_handler_kretprobe() 2132 struct kretprobe *rp = (struct kretprobe *)data; in kretprobe_rethook_handler() 2180 int register_kretprobe(struct kretprobe *rp) in register_kretprobe() 2268 int register_kretprobes(struct kretprobe **rps, int num) in register_kretprobes() 2286 void unregister_kretprobe(struct kretprobe *rp) in unregister_kretprobe() 2323 int register_kretprobe(struct kretprobe *rp) in register_kretprobe() [all …]
|
/linux-6.3-rc2/tools/testing/selftests/bpf/benchs/ |
A D | run_bench_rename.sh | 5 for i in base kprobe kretprobe rawtp fentry fexit fmodret
|
/linux-6.3-rc2/samples/kprobes/ |
A D | kretprobe_example.c | 72 static struct kretprobe my_kretprobe = {
|
/linux-6.3-rc2/Documentation/bpf/libbpf/ |
A D | program_types.rst | 78 | | | ``kretprobe+… 96 | | | ``kretprobe.…
|
/linux-6.3-rc2/kernel/trace/ |
A 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() 1612 struct kretprobe *rp = get_kretprobe(ri); in kretprobe_dispatcher()
|
/linux-6.3-rc2/arch/s390/lib/ |
A D | test_unwind.c | 191 struct kretprobe my_kretprobe; in test_unwind_kretprobe()
|
/linux-6.3-rc2/arch/arm/probes/kprobes/ |
A D | test-core.c | 378 static struct kretprobe the_kretprobe = {
|
/linux-6.3-rc2/tools/bpf/bpftool/bash-completion/ |
A D | bpftool | 473 kretprobe classifier flow_dissector \
|
/linux-6.3-rc2/arch/ |
A D | Kconfig | 209 stacktrace may see the kretprobe trampoline address instead
|
Completed in 35 milliseconds