浏览代码

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 年之前
父节点
当前提交
e81bde4a3d
共有 1 个文件被更改,包括 1 次插入1 次删除
  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);