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:
@@ -315,8 +315,7 @@ static struct call_path *call_path_from_sample(struct db_export *dbe,
|
||||
al.addr = node->ip;
|
||||
|
||||
if (al.map && !al.sym)
|
||||
al.sym = dso__find_symbol(al.map->dso, MAP__FUNCTION,
|
||||
al.addr);
|
||||
al.sym = dso__find_symbol(al.map->dso, al.addr);
|
||||
|
||||
db_ids_from_al(dbe, &al, &dso_db_id, &sym_db_id, &offset);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user