diff options
author | Jonathan Lambrechts <jonathan@aljl.eu> | 2015-02-13 18:51:33 +0100 |
---|---|---|
committer | Aliaksey Kandratsenka <alk@tut.by> | 2015-02-13 17:54:14 -0800 |
commit | 90d7408d381cf2ad68ce4974cbccd51ed5222ca3 (patch) | |
tree | eeef71a64ccd9f056c821bd18e59369be5e42ba3 | |
parent | aa963a24ae7a74b095a631ea6a86cd071c453911 (diff) | |
download | gperftools-90d7408d381cf2ad68ce4974cbccd51ed5222ca3.tar.gz |
pprof : callgrind : fix unknown files
-rwxr-xr-x | src/pprof | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2837,7 +2837,7 @@ sub ExtractSymbolLocation { my $location = "??:0:unknown"; if (exists $symbols->{$address}) { my $file = $symbols->{$address}->[1]; - if ($file eq "?") { + if ($file eq "?" || $file eq ":0") { $file = "??:0" } $location = $file . ":" . $symbols->{$address}->[0]; |