Home
last modified time | relevance | path

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

/Linux-v5.15/include/linux/
Dkprobes.h52 struct kretprobe;
142 struct kretprobe *rp;
146 struct kretprobe { struct
223 static nokprobe_inline struct kretprobe *get_kretprobe(struct kretprobe_instance *ri) in get_kretprobe()
232 static inline void arch_prepare_kretprobe(struct kretprobe *rp, in arch_prepare_kretprobe()
387 int register_kretprobe(struct kretprobe *rp);
388 void unregister_kretprobe(struct kretprobe *rp);
389 int register_kretprobes(struct kretprobe **rps, int num);
390 void unregister_kretprobes(struct kretprobe **rps, int num);
443 static inline int register_kretprobe(struct kretprobe *rp) in register_kretprobe()
[all …]
Dtrace_events.h576 bool kretprobe,
/Linux-v5.15/kernel/
Dtest_kprobes.c190 static struct kretprobe rp = {
233 static struct kretprobe rp2 = {
242 struct kretprobe *rps[2] = {&rp, &rp2}; in test_kretprobes()
Dkprobes.c1223 struct kretprobe *rp = get_kretprobe(ri); in recycle_rp_inst()
1281 static inline void free_rp_inst(struct kretprobe *rp) in free_rp_inst()
1867 struct kretprobe *rp; in __kretprobe_trampoline_handler()
1924 struct kretprobe *rp = container_of(p, struct kretprobe, kp); in NOKPROBE_SYMBOL()
1983 int register_kretprobe(struct kretprobe *rp) in register_kretprobe()
2048 int register_kretprobes(struct kretprobe **rps, int num) in register_kretprobes()
2066 void unregister_kretprobe(struct kretprobe *rp) in unregister_kretprobe()
2072 void unregister_kretprobes(struct kretprobe **rps, int num) in unregister_kretprobes()
2097 int register_kretprobe(struct kretprobe *rp) in register_kretprobe()
2103 int register_kretprobes(struct kretprobe **rps, int num) in register_kretprobes()
[all …]
/Linux-v5.15/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
421 int register_kretprobe(struct kretprobe *rp);
443 - 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.15/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.rst41 | **socket** | **kprobe** | **kretprobe** | **classifier** | **action** |
/Linux-v5.15/tools/testing/selftests/bpf/benchs/
Drun_bench_rename.sh5 for i in base kprobe kretprobe rawtp fentry fexit fmodret
/Linux-v5.15/samples/kprobes/
Dkretprobe_example.c73 static struct kretprobe my_kretprobe = {
/Linux-v5.15/kernel/trace/
Dtrace_kprobe.c58 struct kretprobe rp; /* Use rp.kp for kprobe use */
964 int __kprobe_event_gen_cmd_start(struct dynevent_cmd *cmd, bool kretprobe, in __kprobe_event_gen_cmd_start() argument
978 if (kretprobe) in __kprobe_event_gen_cmd_start()
1732 struct kretprobe *rp = get_kretprobe(ri); in kretprobe_dispatcher()
/Linux-v5.15/arch/arm/probes/kprobes/
Dtest-core.c378 static struct kretprobe the_kretprobe = {
/Linux-v5.15/tools/bpf/bpftool/bash-completion/
Dbpftool473 kretprobe classifier flow_dissector \
/Linux-v5.15/lib/
DKconfig.debug2088 boot. Samples of kprobe and kretprobe are inserted and