summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsrc/pprof2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pprof b/src/pprof
index c23299d..26ba23d 100755
--- a/src/pprof
+++ b/src/pprof
@@ -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];