Searched refs:retprobe (Results 1 - 13 of 13) sorted by relevance

/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dattach_probe.c56 kprobe_opts.retprobe = false;
64 kprobe_opts.retprobe = true;
75 uprobe_opts.retprobe = false;
85 uprobe_opts.retprobe = true;
96 uprobe_opts.retprobe = false;
168 uprobe_opts.retprobe = false;
178 uprobe_opts.retprobe = true;
211 uprobe_opts.retprobe = false;
225 uprobe_opts.retprobe = true;
H A Dfill_link_info.c155 .retprobe = type == BPF_PERF_EVENT_KRETPROBE,
234 .retprobe = type == BPF_PERF_EVENT_URETPROBE,
253 static int verify_kmulti_link_info(int fd, bool retprobe, bool has_cookies) argument
272 if (!retprobe)
353 bool retprobe, bool cookies,
363 opts.retprobe = retprobe;
370 err = verify_kmulti_link_info(link_fd, retprobe, cookies);
403 verify_umulti_link_info(int fd, bool retprobe, __u64 *offsets, argument
443 retprobe, "inf
352 test_kprobe_multi_fill_link_info(struct test_fill_link_info *skel, bool retprobe, bool cookies, bool invalid) argument
511 test_uprobe_multi_fill_link_info(struct test_fill_link_info *skel, bool retprobe, bool invalid) argument
[all...]
H A Dbpf_cookie.c30 opts.retprobe = false;
37 opts.retprobe = false;
45 opts.retprobe = true;
52 opts.retprobe = true;
229 opts.retprobe = true;
304 opts.retprobe = true;
331 opts.retprobe = false;
338 opts.retprobe = false;
346 opts.retprobe = true;
353 opts.retprobe
[all...]
H A Dkprobe_multi_testmod_test.c36 opts->retprobe = true;
H A Duprobe_multi_test.c163 opts->retprobe = false;
169 opts->retprobe = true;
175 opts->retprobe = false;
181 opts->retprobe = true;
187 opts->retprobe = false;
H A Dkprobe_multi_test.c155 opts->retprobe = true;
/linux-master/tools/perf/util/
H A Dprobe-event.h37 bool retprobe; /* Return probe flag */ member in struct:probe_trace_point
70 bool retprobe; /* Return probe flag */ member in struct:perf_probe_point
H A Dprobe-event.c434 result->retprobe = pp->retprobe;
694 pp->retprobe = tp->retprobe;
861 if (tevs[i].point.retprobe && !kretprobe_offset_is_supported())
932 * same issue with kernel module. The retprobe doesn`t need debuginfo.
934 * for retprobe event.
936 if (pev->point.retprobe)
1614 pp->retprobe = 1;
1656 if ((pp->offset || pp->line || pp->lazy_line) && pp->retprobe) {
[all...]
H A Dprobe-finder.c521 Dwarf_Addr paddr, bool retprobe,
557 if (retprobe) {
565 tp->retprobe = true;
887 if (!pp->function || pp->line || pp->retprobe || pp->lazy_line ||
1266 pp->retprobe, pp->function, &tev->point);
1493 pp->retprobe, pp->function, &vl->point);
520 convert_to_trace_point(Dwarf_Die *sp_die, Dwfl_Module *mod, Dwarf_Addr paddr, bool retprobe, const char *function, struct probe_trace_point *tp) argument
/linux-master/tools/perf/arch/powerpc/util/
H A Dsym-handling.c98 if (!pev->uprobes && pev->point.retprobe) {
/linux-master/tools/lib/bpf/
H A Dlibbpf.h514 bool retprobe; member in struct:bpf_kprobe_opts
522 bpf_program__attach_kprobe(const struct bpf_program *prog, bool retprobe,
541 bool retprobe; member in struct:bpf_kprobe_multi_opts
568 bool retprobe; member in struct:bpf_uprobe_multi_opts
572 #define bpf_uprobe_multi_opts__last_field retprobe
611 bool retprobe; member in struct:bpf_ksyscall_opts
614 #define bpf_ksyscall_opts__last_field retprobe
619 * to request to install retprobe that will be triggered at syscall exit. It's
661 bool retprobe; member in struct:bpf_uprobe_opts
684 * @param retprobe Attac
[all...]
H A Dlibbpf.c10666 static int remove_kprobe_event_legacy(const char *probe_name, bool retprobe);
10667 static int remove_uprobe_event_legacy(const char *probe_name, bool retprobe);
10831 const char *file = "/sys/bus/event_source/devices/kprobe/format/retprobe";
10838 const char *file = "/sys/bus/event_source/devices/uprobe/format/retprobe";
10846 static int perf_event_open_probe(bool uprobe, bool retprobe, const char *name, argument
10867 if (retprobe) {
10872 pr_warn("failed to determine %s retprobe bit: %s\n",
10973 static int add_kprobe_event_legacy(const char *probe_name, bool retprobe, argument
10977 retprobe ? 'r' : 'p',
10978 retprobe
10982 remove_kprobe_event_legacy(const char *probe_name, bool retprobe) argument
10988 determine_kprobe_perf_type_legacy(const char *probe_name, bool retprobe) argument
10998 perf_event_kprobe_open_legacy(const char *probe_name, bool retprobe, const char *kfunc_name, size_t offset, int pid) argument
11114 bool retprobe, legacy; local
11199 bpf_program__attach_kprobe(const struct bpf_program *prog, bool retprobe, const char *func_name) argument
11438 bool retprobe, session; local
11676 add_uprobe_event_legacy(const char *probe_name, bool retprobe, const char *binary_path, size_t offset) argument
11685 remove_uprobe_event_legacy(const char *probe_name, bool retprobe) argument
11691 determine_uprobe_perf_type_legacy(const char *probe_name, bool retprobe) argument
11701 perf_event_uprobe_open_legacy(const char *probe_name, bool retprobe, const char *binary_path, size_t offset, int pid) argument
12019 bool retprobe, legacy; local
12207 bpf_program__attach_uprobe(const struct bpf_program *prog, bool retprobe, pid_t pid, const char *binary_path, size_t func_offset) argument
[all...]
/linux-master/kernel/events/
H A Dcore.c10392 PERF_PROBE_CONFIG_IS_RETPROBE = 1U << 0, /* [k,u]retprobe */
10397 PMU_FORMAT_ATTR(retprobe, "config:0");

Completed in 336 milliseconds