|
@@ -298,8 +298,7 @@ func newMapping(prof *profile.Profile, obj plugin.ObjTool, ui plugin.UI, force b
|
298
|
298
|
}
|
299
|
299
|
|
300
|
300
|
// Skip well-known system mappings
|
301
|
|
- name := filepath.Base(m.File)
|
302
|
|
- if name == "[vdso]" || strings.HasPrefix(name, "linux-vdso") {
|
|
301
|
+ if m.Unsymbolizable() {
|
303
|
302
|
continue
|
304
|
303
|
}
|
305
|
304
|
|
|
@@ -310,6 +309,7 @@ func newMapping(prof *profile.Profile, obj plugin.ObjTool, ui plugin.UI, force b
|
310
|
309
|
}
|
311
|
310
|
}
|
312
|
311
|
|
|
312
|
+ name := filepath.Base(m.File)
|
313
|
313
|
f, err := obj.Open(m.File, m.Start, m.Limit, m.Offset)
|
314
|
314
|
if err != nil {
|
315
|
315
|
ui.PrintErr("Local symbolization failed for ", name, ": ", err)
|