1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 06:37:43 +00:00

Profiler: Print addresses as pointers in new Samples view

The previous formatting was missing the "0x" prefix.
This commit is contained in:
Brian Gianforcaro 2021-02-28 12:48:24 -08:00 committed by Andreas Kling
parent e8fd53c247
commit 007b6edce4

View file

@ -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;