diff options
Diffstat (limited to 'tools/perf/util/map.c')
-rw-r--r-- | tools/perf/util/map.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/util/map.c b/tools/perf/util/map.c index 59cab31e79d4..1803d3887afe 100644 --- a/tools/perf/util/map.c +++ b/tools/perf/util/map.c @@ -513,7 +513,7 @@ u64 map__objdump_2mem(struct map *map, u64 ip) return ip + map->reloc; } -bool map__contains_symbol(struct map *map, struct symbol *sym) +bool map__contains_symbol(const struct map *map, const struct symbol *sym) { u64 ip = map->unmap_ip(map, sym->start); |