Skip to content

Commit

Permalink
Profiler: Print addresses as pointers in new Samples view
Browse files Browse the repository at this point in the history
The previous formatting was missing the "0x" prefix.
  • Loading branch information
bgianfo authored and awesomekling committed Mar 1, 2021
1 parent e8fd53c commit 007b6ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Userland/DevTools/Profiler/IndividualSampleModel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 007b6ed

Please sign in to comment.