Explorar el Código

Profiler: Print addresses as pointers in new Samples view

The previous formatting was missing the "0x" prefix.
Brian Gianforcaro hace 4 años
padre
commit
007b6edce4
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      Userland/DevTools/Profiler/IndividualSampleModel.cpp

+ 1 - 1
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 (role == GUI::ModelRole::Display) {
         if (index.column() == Column::Address)
         if (index.column() == Column::Address)
-            return String::formatted("{:08x}", frame.address);
+            return String::formatted("{:p}", frame.address);
 
 
         if (index.column() == Column::Symbol) {
         if (index.column() == Column::Symbol) {
             return frame.symbol;
             return frame.symbol;