diff options
| -rw-r--r-- | tools/perf/util/annotate.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/perf/util/annotate.c b/tools/perf/util/annotate.c index e0b614648044..8a18347709e1 100644 --- a/tools/perf/util/annotate.c +++ b/tools/perf/util/annotate.c | |||
| @@ -621,7 +621,7 @@ int addr_map_symbol__account_cycles(struct addr_map_symbol *ams, | |||
| 621 | struct addr_map_symbol *start, | 621 | struct addr_map_symbol *start, |
| 622 | unsigned cycles) | 622 | unsigned cycles) |
| 623 | { | 623 | { |
| 624 | unsigned long saddr = 0; | 624 | u64 saddr = 0; |
| 625 | int err; | 625 | int err; |
| 626 | 626 | ||
| 627 | if (!cycles) | 627 | if (!cycles) |
| @@ -640,7 +640,7 @@ int addr_map_symbol__account_cycles(struct addr_map_symbol *ams, | |||
| 640 | start->addr == ams->sym->start + ams->map->start))) | 640 | start->addr == ams->sym->start + ams->map->start))) |
| 641 | saddr = start->al_addr; | 641 | saddr = start->al_addr; |
| 642 | if (saddr == 0) | 642 | if (saddr == 0) |
| 643 | pr_debug2("BB with bad start: addr %lx start %lx sym %lx saddr %lx\n", | 643 | pr_debug2("BB with bad start: addr %"PRIx64" start %"PRIx64" sym %"PRIx64" saddr %"PRIx64"\n", |
| 644 | ams->addr, | 644 | ams->addr, |
| 645 | start ? start->addr : 0, | 645 | start ? start->addr : 0, |
| 646 | ams->sym ? ams->sym->start + ams->map->start : 0, | 646 | ams->sym ? ams->sym->start + ams->map->start : 0, |
