mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 04:09:13 +00:00
Profiler: Print addresses as pointers in new Samples view
The previous formatting was missing the "0x" prefix.
This commit is contained in:
parent
e8fd53c247
commit
007b6edce4
Notes:
sideshowbarker
2024-07-18 21:49:50 +09:00
Author: https://github.com/bgianfo
Commit: 007b6edce4
Pull-request: https://github.com/SerenityOS/serenity/pull/5573
1 changed files with 1 additions and 1 deletions
|
@ -71,7 +71,7 @@ GUI::Variant IndividualSampleModel::data(const GUI::ModelIndex& index, GUI::Mode
|
|||
|
||||
if (role == GUI::ModelRole::Display) {
|
||||
if (index.column() == Column::Address)
|
||||
return String::formatted("{:08x}", frame.address);
|
||||
return String::formatted("{:p}", frame.address);
|
||||
|
||||
if (index.column() == Column::Symbol) {
|
||||
return frame.symbol;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue