Home
last modified time | relevance | path

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

/Linux-v4.19/include/linux/
Dkprobes.h63 struct kretprobe;
160 struct kretprobe { struct
173 struct kretprobe *rp; argument
207 static inline void arch_prepare_kretprobe(struct kretprobe *rp, in arch_prepare_kretprobe()
369 int register_kretprobe(struct kretprobe *rp);
370 void unregister_kretprobe(struct kretprobe *rp);
371 int register_kretprobes(struct kretprobe **rps, int num);
372 void unregister_kretprobes(struct kretprobe **rps, int num);
414 static inline int register_kretprobe(struct kretprobe *rp) in register_kretprobe()
418 static inline int register_kretprobes(struct kretprobe **rps, int num) in register_kretprobes()
[all …]
/Linux-v4.19/kernel/
Dtest_kprobes.c199 static struct kretprobe rp = {
242 static struct kretprobe rp2 = {
251 struct kretprobe *rps[2] = {&rp, &rp2}; in test_kretprobes()
Dkprobes.c1136 struct kretprobe *rp = ri->rp; in recycle_rp_inst()
1227 static inline void free_rp_inst(struct kretprobe *rp) in free_rp_inst()
1238 static void cleanup_rp_inst(struct kretprobe *rp) in cleanup_rp_inst()
1795 struct kretprobe *rp = container_of(p, struct kretprobe, kp); in pre_handler_kretprobe()
1863 int register_kretprobe(struct kretprobe *rp) in register_kretprobe()
1918 int register_kretprobes(struct kretprobe **rps, int num) in register_kretprobes()
1936 void unregister_kretprobe(struct kretprobe *rp) in unregister_kretprobe()
1942 void unregister_kretprobes(struct kretprobe **rps, int num) in unregister_kretprobes()
1965 int register_kretprobe(struct kretprobe *rp) in register_kretprobe()
1971 int register_kretprobes(struct kretprobe **rps, int num) in register_kretprobes()
[all …]
/Linux-v4.19/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
433 int register_kretprobe(struct kretprobe *rp);
455 - rp: points to the corresponding kretprobe object
[all …]
/Linux-v4.19/tools/bpf/bpftool/Documentation/
Dbpftool-perf.rst64 pid 21765 fd 5: prog_id 7 kretprobe func __x64_sys_nanosleep offset 0
74 … {"pid":21765,"fd":5,"prog_id":7,"fd_type":"kretprobe","func":"__x64_sys_nanosleep","offset":0}, \
Dbpftool-prog.rst33 | **socket** | **kprobe** | **kretprobe** | **classifier** | **action** |
/Linux-v4.19/samples/kprobes/
Dkretprobe_example.c70 static struct kretprobe my_kretprobe = {
/Linux-v4.19/Documentation/trace/
Dkprobetrace.rst10 this is based on kprobes (kprobe and kretprobe). So it can probe wherever
127 This sets a kretprobe on the return point of do_sys_open() function with
/Linux-v4.19/tools/bpf/bpftool/bash-completion/
Dbpftool324 …COMPREPLY=( $( compgen -W "socket kprobe kretprobe classifier action tracepoint raw_tracepoint xdp…
/Linux-v4.19/arch/arm/probes/kprobes/
Dtest-core.c381 static struct kretprobe the_kretprobe = {
/Linux-v4.19/kernel/trace/
Dtrace_kprobe.c26 struct kretprobe rp; /* Use rp.kp for kprobe use */
/Linux-v4.19/lib/
DKconfig.debug1724 boot. Samples of kprobe and kretprobe are inserted and