|
@@ -764,13 +764,8 @@ static int perf_sample__fprintf_brstacksym(struct perf_sample *sample,
|
|
|
from = br->entries[i].from;
|
|
|
to = br->entries[i].to;
|
|
|
|
|
|
- thread__find_map(thread, sample->cpumode, from, &alf);
|
|
|
- if (alf.map)
|
|
|
- alf.sym = map__find_symbol(alf.map, alf.addr);
|
|
|
-
|
|
|
- thread__find_map(thread, sample->cpumode, to, &alt);
|
|
|
- if (alt.map)
|
|
|
- alt.sym = map__find_symbol(alt.map, alt.addr);
|
|
|
+ thread__find_symbol(thread, sample->cpumode, from, &alf);
|
|
|
+ thread__find_symbol(thread, sample->cpumode, to, &alt);
|
|
|
|
|
|
printed += symbol__fprintf_symname_offs(alf.sym, &alf, fp);
|
|
|
if (PRINT_FIELD(DSO)) {
|