mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-23 06:44:35 +00:00
Fix display of kernel addresses.
This commit is contained in:
parent
9c9e854005
commit
4695f60937
@ -11238,11 +11238,12 @@ void View::DrawCallstackWindow()
|
||||
{
|
||||
if( entry.sel == 0 )
|
||||
{
|
||||
ImGui::TextDisabled( "0x%" PRIx64, entry.idx );
|
||||
const auto addr = m_worker.GetCanonicalPointer( entry );
|
||||
ImGui::TextDisabled( "0x%" PRIx64, addr );
|
||||
if( ImGui::IsItemClicked() )
|
||||
{
|
||||
char tmp[32];
|
||||
sprintf( tmp, "0x%" PRIx64, entry.idx );
|
||||
sprintf( tmp, "0x%" PRIx64, addr );
|
||||
ImGui::SetClipboardText( tmp );
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user