Skip to content

Commit

Permalink
pprof : callgrind : fix unknown files
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanlambrechts authored and Aliaksey Kandratsenka committed Feb 14, 2015
1 parent aa963a2 commit 90d7408
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pprof
Expand Up @@ -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];
Expand Down

0 comments on commit 90d7408

Please sign in to comment.