perf symbols: Remove map_type arg from dso__find_symbol()
One more step to ditch MAP__{VARIABLE,FUNCTION} Cc: Adrian Hunter <adrian.hunter@intel.com> Cc: David Ahern <dsahern@gmail.com> Cc: Jiri Olsa <jolsa@kernel.org> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Wang Nan <wangnan0@huawei.com> Link: https://lkml.kernel.org/n/tip-919d1k13ts62pjipnpibvgwd@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
This commit is contained in:
@@ -353,7 +353,7 @@ struct symbol *map__find_symbol(struct map *map, u64 addr)
|
||||
if (map__load(map) < 0)
|
||||
return NULL;
|
||||
|
||||
return dso__find_symbol(map->dso, map->type, addr);
|
||||
return __dso__find_symbol(map->dso, map->type, addr);
|
||||
}
|
||||
|
||||
struct symbol *map__find_symbol_by_name(struct map *map, const char *name)
|
||||
@@ -364,7 +364,7 @@ struct symbol *map__find_symbol_by_name(struct map *map, const char *name)
|
||||
if (!dso__sorted_by_name(map->dso, map->type))
|
||||
dso__sort_by_name(map->dso, map->type);
|
||||
|
||||
return dso__find_symbol_by_name(map->dso, map->type, name);
|
||||
return __dso__find_symbol_by_name(map->dso, map->type, name);
|
||||
}
|
||||
|
||||
struct map *map__clone(struct map *from)
|
||||
|
Reference in New Issue
Block a user