summaryrefslogtreecommitdiff
path: root/Userland/DevTools/Profiler/DisassemblyModel.cpp
diff options
context:
space:
mode:
authorBrian Gianforcaro <bgianf@serenityos.org>2021-05-04 00:37:08 -0700
committerAndreas Kling <kling@serenityos.org>2021-05-04 10:57:55 +0200
commitcc94495a2991dc2bc27bfd987f8ae292643cf1d5 (patch)
tree79459f9488476a43918cefcdef48cc2a8145196d /Userland/DevTools/Profiler/DisassemblyModel.cpp
parent35bb8ab4dbc4287f0823c093fd2d68a9d467f9b4 (diff)
downloadserenity-cc94495a2991dc2bc27bfd987f8ae292643cf1d5.zip
Profiler: Print addresses in debug log in hex.
Diffstat (limited to 'Userland/DevTools/Profiler/DisassemblyModel.cpp')
-rw-r--r--Userland/DevTools/Profiler/DisassemblyModel.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/DevTools/Profiler/DisassemblyModel.cpp b/Userland/DevTools/Profiler/DisassemblyModel.cpp
index 1bc7a2bd9f..9225df52aa 100644
--- a/Userland/DevTools/Profiler/DisassemblyModel.cpp
+++ b/Userland/DevTools/Profiler/DisassemblyModel.cpp
@@ -50,12 +50,12 @@ DisassemblyModel::DisassemblyModel(Profile& profile, ProfileNode& node)
} else {
auto process = node.process(profile, node.timestamp());
if (!process) {
- dbgln("no process for address {}", node.address());
+ dbgln("no process for address {:p}", node.address());
return;
}
auto library_data = process->library_metadata.library_containing(node.address());
if (!library_data) {
- dbgln("no library data for address {}", node.address());
+ dbgln("no library data for address {:p}", node.address());
return;
}
elf = &library_data->object->elf;