diff options
Diffstat (limited to 'tools/perf/builtin-script.c')
-rw-r--r-- | tools/perf/builtin-script.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/perf/builtin-script.c b/tools/perf/builtin-script.c index 6b3c8b0d3276..7228d141a789 100644 --- a/tools/perf/builtin-script.c +++ b/tools/perf/builtin-script.c | |||
@@ -522,11 +522,11 @@ static void print_sample_brstacksym(struct perf_sample *sample, | |||
522 | 522 | ||
523 | thread__find_addr_map(thread, sample->cpumode, MAP__FUNCTION, from, &alf); | 523 | thread__find_addr_map(thread, sample->cpumode, MAP__FUNCTION, from, &alf); |
524 | if (alf.map) | 524 | if (alf.map) |
525 | alf.sym = map__find_symbol(alf.map, alf.addr, NULL); | 525 | alf.sym = map__find_symbol(alf.map, alf.addr); |
526 | 526 | ||
527 | thread__find_addr_map(thread, sample->cpumode, MAP__FUNCTION, to, &alt); | 527 | thread__find_addr_map(thread, sample->cpumode, MAP__FUNCTION, to, &alt); |
528 | if (alt.map) | 528 | if (alt.map) |
529 | alt.sym = map__find_symbol(alt.map, alt.addr, NULL); | 529 | alt.sym = map__find_symbol(alt.map, alt.addr); |
530 | 530 | ||
531 | symbol__fprintf_symname_offs(alf.sym, &alf, stdout); | 531 | symbol__fprintf_symname_offs(alf.sym, &alf, stdout); |
532 | putchar('/'); | 532 | putchar('/'); |