Home
last modified time | relevance | path

Searched refs:retprobe (Results 1 – 8 of 8) sorted by relevance

/tools/testing/selftests/bpf/prog_tests/
Dbpf_cookie.c19 opts.retprobe = false; in kprobe_subtest()
26 opts.retprobe = false; in kprobe_subtest()
34 opts.retprobe = true; in kprobe_subtest()
41 opts.retprobe = true; in kprobe_subtest()
73 opts.retprobe = false; in uprobe_subtest()
80 opts.retprobe = false; in uprobe_subtest()
88 opts.retprobe = true; in uprobe_subtest()
95 opts.retprobe = true; in uprobe_subtest()
Dattach_probe.c50 uprobe_opts.retprobe = false; in test_attach_probe()
64 uprobe_opts.retprobe = true; in test_attach_probe()
/tools/perf/util/
Dprobe-event.h37 bool retprobe; /* Return probe flag */ member
70 bool retprobe; /* Return probe flag */ member
Dprobe-event.c409 result->retprobe = pp->retprobe; in find_alternative_probe_point()
669 pp->retprobe = tp->retprobe; in find_perf_probe_point_from_dwarf()
836 if (tevs[i].point.retprobe && !kretprobe_offset_is_supported()) in post_process_kernel_probe_trace_events()
911 if (pev->point.retprobe) in try_to_find_probe_trace_events()
1588 pp->retprobe = 1; in parse_perf_probe_point()
1630 if ((pp->offset || pp->line || pp->lazy_line) && pp->retprobe) { in parse_perf_probe_point()
1637 pp->function, pp->file, pp->line, pp->offset, pp->retprobe, in parse_perf_probe_point()
1794 is_c_varname(pev->args[i].var) && pev->point.retprobe) { in parse_perf_probe_command()
1876 tp->retprobe = (pr == 'r'); in parse_probe_trace_command()
2018 else if (pp->retprobe) in synthesize_perf_probe_point()
[all …]
Dprobe-finder.c641 Dwarf_Addr paddr, bool retprobe, in convert_to_trace_point() argument
677 if (retprobe) { in convert_to_trace_point()
685 tp->retprobe = true; in convert_to_trace_point()
1007 if (!pp->function || pp->line || pp->retprobe || pp->lazy_line || in skip_prologue()
1377 pp->retprobe, pp->function, &tev->point); in add_probe_trace_event()
1604 pp->retprobe, pp->function, &vl->point); in add_available_vars()
/tools/lib/bpf/
Dlibbpf.h271 bool retprobe; member
274 #define bpf_kprobe_opts__last_field retprobe
277 bpf_program__attach_kprobe(struct bpf_program *prog, bool retprobe,
294 bool retprobe; member
297 #define bpf_uprobe_opts__last_field retprobe
300 bpf_program__attach_uprobe(struct bpf_program *prog, bool retprobe,
Dlibbpf.c9186 static int perf_event_open_probe(bool uprobe, bool retprobe, const char *name, in perf_event_open_probe() argument
9204 if (retprobe) { in perf_event_open_probe()
9246 bool retprobe; in bpf_program__attach_kprobe_opts() local
9252 retprobe = OPTS_GET(opts, retprobe, false); in bpf_program__attach_kprobe_opts()
9256 pfd = perf_event_open_probe(false /* uprobe */, retprobe, func_name, in bpf_program__attach_kprobe_opts()
9260 prog->name, retprobe ? "kretprobe" : "kprobe", func_name, in bpf_program__attach_kprobe_opts()
9269 prog->name, retprobe ? "kretprobe" : "kprobe", func_name, in bpf_program__attach_kprobe_opts()
9277 bool retprobe, in bpf_program__attach_kprobe() argument
9281 .retprobe = retprobe, in bpf_program__attach_kprobe()
9298 opts.retprobe = strcmp(sec->sec, "kretprobe/") == 0; in attach_kprobe()
[all …]
/tools/perf/arch/powerpc/util/
Dsym-handling.c98 if (!pev->uprobes && pev->point.retprobe) { in arch__fix_tev_from_maps()