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.
This commit is contained in:
Andreas Kling 2020-02-22 11:11:07 +01:00
parent ece2971112
commit e81bde4a3d
Notes: sideshowbarker 2024-07-19 09:10:30 +09:00

View File

@ -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);