Home
last modified time | relevance | path

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

/tools/perf/util/
Dprobe-event.h36 bool retprobe; /* Return probe flag */ member
69 bool retprobe; /* Return probe flag */ member
Dprobe-event.c411 result->retprobe = pp->retprobe; in find_alternative_probe_point()
672 pp->retprobe = tp->retprobe; in find_perf_probe_point_from_dwarf()
831 if (tevs[i].point.retprobe && !kretprobe_offset_is_supported()) in post_process_kernel_probe_trace_events()
1573 pp->retprobe = 1; in parse_perf_probe_point()
1615 if ((pp->offset || pp->line || pp->lazy_line) && pp->retprobe) { in parse_perf_probe_point()
1622 pp->function, pp->file, pp->line, pp->offset, pp->retprobe, in parse_perf_probe_point()
1779 is_c_varname(pev->args[i].var) && pev->point.retprobe) { in parse_perf_probe_command()
1861 tp->retprobe = (pr == 'r'); in parse_probe_trace_command()
2003 else if (pp->retprobe) in synthesize_perf_probe_point()
2146 if (strbuf_addf(&buf, "%c:%s/%s ", tp->retprobe ? 'r' : 'p', in synthesize_probe_trace_command()
[all …]
Dprobe-finder.c636 Dwarf_Addr paddr, bool retprobe, in convert_to_trace_point() argument
672 if (retprobe) { in convert_to_trace_point()
680 tp->retprobe = true; in convert_to_trace_point()
1002 if (!pp->function || pp->line || pp->retprobe || pp->lazy_line || in skip_prologue()
1370 pp->retprobe, pp->function, &tev->point); in add_probe_trace_event()
1597 pp->retprobe, pp->function, &vl->point); in add_available_vars()
/tools/perf/arch/powerpc/util/
Dsym-handling.c98 if (!pev->uprobes && pev->point.retprobe) { in arch__fix_tev_from_maps()
/tools/lib/bpf/
Dlibbpf.h241 bpf_program__attach_kprobe(struct bpf_program *prog, bool retprobe,
244 bpf_program__attach_uprobe(struct bpf_program *prog, bool retprobe,
Dlibbpf.c9393 static int perf_event_open_probe(bool uprobe, bool retprobe, const char *name, in perf_event_open_probe() argument
9408 if (retprobe) { in perf_event_open_probe()
9441 bool retprobe, in bpf_program__attach_kprobe() argument
9448 pfd = perf_event_open_probe(false /* uprobe */, retprobe, func_name, in bpf_program__attach_kprobe()
9452 prog->name, retprobe ? "kretprobe" : "kprobe", func_name, in bpf_program__attach_kprobe()
9461 prog->name, retprobe ? "kretprobe" : "kprobe", func_name, in bpf_program__attach_kprobe()
9472 bool retprobe; in attach_kprobe() local
9475 retprobe = strcmp(sec->sec, "kretprobe/") == 0; in attach_kprobe()
9477 return bpf_program__attach_kprobe(prog, retprobe, func_name); in attach_kprobe()
9481 bool retprobe, pid_t pid, in bpf_program__attach_uprobe() argument
[all …]