|
@@ -1466,7 +1466,7 @@ int dso__load(struct dso *dso, struct map *map, symbol_filter_t filter)
|
|
* Read the build id if possible. This is required for
|
|
* Read the build id if possible. This is required for
|
|
* DSO_BINARY_TYPE__BUILDID_DEBUGINFO to work
|
|
* DSO_BINARY_TYPE__BUILDID_DEBUGINFO to work
|
|
*/
|
|
*/
|
|
- if (filename__read_build_id(dso->name, build_id, BUILD_ID_SIZE) > 0)
|
|
|
|
|
|
+ if (filename__read_build_id(dso->long_name, build_id, BUILD_ID_SIZE) > 0)
|
|
dso__set_build_id(dso, build_id);
|
|
dso__set_build_id(dso, build_id);
|
|
|
|
|
|
/*
|
|
/*
|