Home
last modified time | relevance | path

Searched refs:kretprobe (Results 1 – 12 of 12) sorted by relevance

/Linux-v5.4/include/linux/
Dkprobes.h50 struct kretprobe;
147 struct kretprobe { struct
160 struct kretprobe *rp; argument
195 static inline void arch_prepare_kretprobe(struct kretprobe *rp, in arch_prepare_kretprobe()
360 int register_kretprobe(struct kretprobe *rp);
361 void unregister_kretprobe(struct kretprobe *rp);
362 int register_kretprobes(struct kretprobe **rps, int num);
363 void unregister_kretprobes(struct kretprobe **rps, int num);
408 static inline int register_kretprobe(struct kretprobe *rp) in register_kretprobe()
412 static inline int register_kretprobes(struct kretprobe **rps, int num) in register_kretprobes()
[all …]
/Linux-v5.4/kernel/
Dtest_kprobes.c190 static struct kretprobe rp = {
233 static struct kretprobe rp2 = {
242 struct kretprobe *rps[2] = {&rp, &rp2}; in test_kretprobes()
Dkprobes.c1160 struct kretprobe *rp = ri->rp; in recycle_rp_inst()
1251 static inline void free_rp_inst(struct kretprobe *rp) in free_rp_inst()
1262 static void cleanup_rp_inst(struct kretprobe *rp) in cleanup_rp_inst()
1839 struct kretprobe *rp = container_of(p, struct kretprobe, kp); in pre_handler_kretprobe()
1907 int register_kretprobe(struct kretprobe *rp) in register_kretprobe()
1962 int register_kretprobes(struct kretprobe **rps, int num) in register_kretprobes()
1980 void unregister_kretprobe(struct kretprobe *rp) in unregister_kretprobe()
1986 void unregister_kretprobes(struct kretprobe **rps, int num) in unregister_kretprobes()
2009 int register_kretprobe(struct kretprobe *rp) in register_kretprobe()
2015 int register_kretprobes(struct kretprobe **rps, int num) in register_kretprobes()
[all …]
/Linux-v5.4/Documentation/
Dkprobes.txt57 a kretprobe. But if you're in a hurry to start using Kprobes, you
119 kretprobe, then sets the saved instruction pointer to the saved return
125 kretprobe struct to specify how many instances of the specified
137 some probes. In the kretprobe struct, the nmissed field is set to
147 field of the kretprobe struct. Whenever the kprobe placed by kretprobe at the
152 the kretprobe has no further effect for that particular function instance.
159 private data object can be specified at kretprobe registration time by
160 setting the data_size field of the kretprobe struct. This data can be
434 int register_kretprobe(struct kretprobe *rp);
456 - rp: points to the corresponding kretprobe object
[all …]
/Linux-v5.4/tools/bpf/bpftool/Documentation/
Dbpftool-perf.rst68 pid 21765 fd 5: prog_id 7 kretprobe func __x64_sys_nanosleep offset 0
78 … {"pid":21765,"fd":5,"prog_id":7,"fd_type":"kretprobe","func":"__x64_sys_nanosleep","offset":0}, \
Dbpftool-prog.rst38 | **socket** | **kprobe** | **kretprobe** | **classifier** | **action** |
/Linux-v5.4/samples/kprobes/
Dkretprobe_example.c71 static struct kretprobe my_kretprobe = {
/Linux-v5.4/Documentation/trace/
Dkprobetrace.rst10 this is based on kprobes (kprobe and kretprobe). So it can probe wherever
182 This sets a kretprobe on the return point of do_sys_open() function with
/Linux-v5.4/arch/arm/probes/kprobes/
Dtest-core.c378 static struct kretprobe the_kretprobe = {
/Linux-v5.4/tools/bpf/bpftool/bash-completion/
Dbpftool383 kretprobe classifier flow_dissector \
/Linux-v5.4/kernel/trace/
Dtrace_kprobe.c58 struct kretprobe rp; /* Use rp.kp for kprobe use */
/Linux-v5.4/lib/
DKconfig.debug1711 boot. Samples of kprobe and kretprobe are inserted and