Home
last modified time | relevance | path

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

/Linux-v5.10/include/linux/
Dkprobes.h50 struct kretprobe;
147 struct kretprobe { struct
163 struct kretprobe *rp; argument
225 static inline void arch_prepare_kretprobe(struct kretprobe *rp, in arch_prepare_kretprobe()
380 int register_kretprobe(struct kretprobe *rp);
381 void unregister_kretprobe(struct kretprobe *rp);
382 int register_kretprobes(struct kretprobe **rps, int num);
383 void unregister_kretprobes(struct kretprobe **rps, int num);
434 static inline int register_kretprobe(struct kretprobe *rp) in register_kretprobe()
438 static inline int register_kretprobes(struct kretprobe **rps, int num) in register_kretprobes()
[all …]
Dtrace_events.h474 bool kretprobe,
/Linux-v5.10/kernel/
Dtest_kprobes.c190 static struct kretprobe rp = {
233 static struct kretprobe rp2 = {
242 struct kretprobe *rps[2] = {&rp, &rp2}; in test_kretprobes()
Dkprobes.c1229 struct kretprobe *rp = ri->rp; in recycle_rp_inst()
1350 static inline void free_rp_inst(struct kretprobe *rp) in free_rp_inst()
1361 static void cleanup_rp_inst(struct kretprobe *rp) in cleanup_rp_inst()
2037 struct kretprobe *rp = container_of(p, struct kretprobe, kp); in NOKPROBE_SYMBOL()
2099 int register_kretprobe(struct kretprobe *rp) in register_kretprobe()
2154 int register_kretprobes(struct kretprobe **rps, int num) in register_kretprobes()
2172 void unregister_kretprobe(struct kretprobe *rp) in unregister_kretprobe()
2178 void unregister_kretprobes(struct kretprobe **rps, int num) in unregister_kretprobes()
2201 int register_kretprobe(struct kretprobe *rp) in register_kretprobe()
2207 int register_kretprobes(struct kretprobe **rps, int num) in register_kretprobes()
[all …]
/Linux-v5.10/Documentation/trace/
Dkprobes.rst58 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
435 int register_kretprobe(struct kretprobe *rp);
457 - rp: points to the corresponding kretprobe object
[all …]
Dkprobetrace.rst10 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
Devents.rst548 kretprobe events.
559 - dynamically creating kprobe and kretprobe event definitions
878 7.3 Dyamically creating kprobe and kretprobe event definitions
881 To create a kprobe or kretprobe trace event from kernel code, the
922 or kretprobe command was started::
933 Similarly, a kretprobe event can be created using
/Linux-v5.10/tools/bpf/bpftool/Documentation/
Dbpftool-perf.rst53 pid 21765 fd 5: prog_id 7 kretprobe func __x64_sys_nanosleep offset 0
63 … {"pid":21765,"fd":5,"prog_id":7,"fd_type":"kretprobe","func":"__x64_sys_nanosleep","offset":0}, \
Dbpftool-prog.rst39 | **socket** | **kprobe** | **kretprobe** | **classifier** | **action** |
/Linux-v5.10/tools/testing/selftests/bpf/benchs/
Drun_bench_rename.sh5 for i in base kprobe kretprobe rawtp fentry fexit fmodret
/Linux-v5.10/samples/kprobes/
Dkretprobe_example.c73 static struct kretprobe my_kretprobe = {
/Linux-v5.10/kernel/trace/
Dtrace_kprobe.c57 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()
/Linux-v5.10/arch/arm/probes/kprobes/
Dtest-core.c378 static struct kretprobe the_kretprobe = {
/Linux-v5.10/tools/bpf/bpftool/bash-completion/
Dbpftool468 kretprobe classifier flow_dissector \
/Linux-v5.10/lib/
DKconfig.debug1967 boot. Samples of kprobe and kretprobe are inserted and