From 007b6edce4777737e47ae1fd67bf7fb51dd71d34 Mon Sep 17 00:00:00 2001 From: Brian Gianforcaro Date: Sun, 28 Feb 2021 12:48:24 -0800 Subject: [PATCH] Profiler: Print addresses as pointers in new Samples view The previous formatting was missing the "0x" prefix. --- Userland/DevTools/Profiler/IndividualSampleModel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Userland/DevTools/Profiler/IndividualSampleModel.cpp b/Userland/DevTools/Profiler/IndividualSampleModel.cpp index b64feabb1e..9cbff25ddc 100644 --- a/Userland/DevTools/Profiler/IndividualSampleModel.cpp +++ b/Userland/DevTools/Profiler/IndividualSampleModel.cpp @@ -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;