From e81bde4a3dbc88d67d96ecdec52be572ef0636c5 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Sat, 22 Feb 2020 11:11:07 +0100 Subject: [PATCH] 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. --- DevTools/ProfileViewer/Profile.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DevTools/ProfileViewer/Profile.cpp b/DevTools/ProfileViewer/Profile.cpp index 3cd67a05d6..c9f2b27cdc 100644 --- a/DevTools/ProfileViewer/Profile.cpp +++ b/DevTools/ProfileViewer/Profile.cpp @@ -256,7 +256,7 @@ OwnPtr 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);