diff options
Diffstat (limited to 'tools/perf/builtin-script.c')
-rw-r--r-- | tools/perf/builtin-script.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tools/perf/builtin-script.c b/tools/perf/builtin-script.c index 04913136bac9..3ea98fe72f7f 100644 --- a/tools/perf/builtin-script.c +++ b/tools/perf/builtin-script.c | |||
@@ -724,8 +724,8 @@ static int perf_sample__fprintf_brstack(struct perf_sample *sample, | |||
724 | if (PRINT_FIELD(DSO)) { | 724 | if (PRINT_FIELD(DSO)) { |
725 | memset(&alf, 0, sizeof(alf)); | 725 | memset(&alf, 0, sizeof(alf)); |
726 | memset(&alt, 0, sizeof(alt)); | 726 | memset(&alt, 0, sizeof(alt)); |
727 | thread__find_map(thread, sample->cpumode, from, &alf); | 727 | thread__find_map_fb(thread, sample->cpumode, from, &alf); |
728 | thread__find_map(thread, sample->cpumode, to, &alt); | 728 | thread__find_map_fb(thread, sample->cpumode, to, &alt); |
729 | } | 729 | } |
730 | 730 | ||
731 | printed += fprintf(fp, " 0x%"PRIx64, from); | 731 | printed += fprintf(fp, " 0x%"PRIx64, from); |
@@ -771,8 +771,8 @@ static int perf_sample__fprintf_brstacksym(struct perf_sample *sample, | |||
771 | from = br->entries[i].from; | 771 | from = br->entries[i].from; |
772 | to = br->entries[i].to; | 772 | to = br->entries[i].to; |
773 | 773 | ||
774 | thread__find_symbol(thread, sample->cpumode, from, &alf); | 774 | thread__find_symbol_fb(thread, sample->cpumode, from, &alf); |
775 | thread__find_symbol(thread, sample->cpumode, to, &alt); | 775 | thread__find_symbol_fb(thread, sample->cpumode, to, &alt); |
776 | 776 | ||
777 | printed += symbol__fprintf_symname_offs(alf.sym, &alf, fp); | 777 | printed += symbol__fprintf_symname_offs(alf.sym, &alf, fp); |
778 | if (PRINT_FIELD(DSO)) { | 778 | if (PRINT_FIELD(DSO)) { |
@@ -816,11 +816,11 @@ static int perf_sample__fprintf_brstackoff(struct perf_sample *sample, | |||
816 | from = br->entries[i].from; | 816 | from = br->entries[i].from; |
817 | to = br->entries[i].to; | 817 | to = br->entries[i].to; |
818 | 818 | ||
819 | if (thread__find_map(thread, sample->cpumode, from, &alf) && | 819 | if (thread__find_map_fb(thread, sample->cpumode, from, &alf) && |
820 | !alf.map->dso->adjust_symbols) | 820 | !alf.map->dso->adjust_symbols) |
821 | from = map__map_ip(alf.map, from); | 821 | from = map__map_ip(alf.map, from); |
822 | 822 | ||
823 | if (thread__find_map(thread, sample->cpumode, to, &alt) && | 823 | if (thread__find_map_fb(thread, sample->cpumode, to, &alt) && |
824 | !alt.map->dso->adjust_symbols) | 824 | !alt.map->dso->adjust_symbols) |
825 | to = map__map_ip(alt.map, to); | 825 | to = map__map_ip(alt.map, to); |
826 | 826 | ||