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:
parent
ece2971112
commit
e81bde4a3d
Notes:
sideshowbarker
2024-07-19 09:10:30 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/e81bde4a3db
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue