mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-20 09:49:15 +03:00
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
@ -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…
Reference in New Issue
Block a user