Kaynağa Gözat

ProfileViewer: Symbolicate unknown addresses as "??" for now

This makes unknown addresses accumulate their children together in the
treeview, which turns out to be a bit more useful than having hundreds
of unique garbage addresses each with their own subtree.
Andreas Kling 5 yıl önce
ebeveyn
işleme
e81bde4a3d
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      DevTools/ProfileViewer/Profile.cpp

+ 1 - 1
DevTools/ProfileViewer/Profile.cpp

@@ -256,7 +256,7 @@ OwnPtr<Profile> Profile::load_from_perfcore_file(const StringView& path)
             }
 
             if (symbol == "??")
-                symbol = String::format("%#08x", ptr);
+                symbol = String::format("??", ptr);
 
             JsonObject frame_object;
             frame_object.set("address", ptr);