|
@@ -446,7 +446,7 @@ static int post_process_probe_trace_events(struct probe_trace_event *tevs,
|
|
}
|
|
}
|
|
|
|
|
|
for (i = 0; i < ntevs; i++) {
|
|
for (i = 0; i < ntevs; i++) {
|
|
- if (tevs[i].point.address) {
|
|
|
|
|
|
+ if (tevs[i].point.address && !tevs[i].point.retprobe) {
|
|
tmp = strdup(reloc_sym->name);
|
|
tmp = strdup(reloc_sym->name);
|
|
if (!tmp)
|
|
if (!tmp)
|
|
return -ENOMEM;
|
|
return -ENOMEM;
|
|
@@ -2254,7 +2254,7 @@ static int find_probe_trace_events_from_map(struct perf_probe_event *pev,
|
|
goto out;
|
|
goto out;
|
|
}
|
|
}
|
|
|
|
|
|
- if (!pev->uprobes) {
|
|
|
|
|
|
+ if (!pev->uprobes && !pp->retprobe) {
|
|
kmap = map__kmap(map);
|
|
kmap = map__kmap(map);
|
|
reloc_sym = kmap->ref_reloc_sym;
|
|
reloc_sym = kmap->ref_reloc_sym;
|
|
if (!reloc_sym) {
|
|
if (!reloc_sym) {
|