perf symbols: Clarify method to get DSO binary_type filename
[firefly-linux-kernel-4.4.55.git] / tools / perf / util / symbol.c
index 61eb1cddf01abce54a8828e632fa91ebe9ba1d73..9ee4b80dac57255943d3a22cec0a323363ce4e73 100644 (file)
@@ -1258,8 +1258,8 @@ int dso__load(struct dso *dso, struct map *map, symbol_filter_t filter)
 
                enum dso_binary_type symtab_type = binary_type_symtab[i];
 
-               if (dso__binary_type_file(dso, symtab_type,
-                                         root_dir, name, PATH_MAX))
+               if (dso__read_binary_type_filename(dso, symtab_type,
+                                                  root_dir, name, PATH_MAX))
                        continue;
 
                /* Name is now the name of the next image to try */