mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 10:41:50 +00:00
Kernel symbols don't have parents.
This commit is contained in:
parent
b35dfe71d1
commit
be07ccc1d3
@ -13037,8 +13037,9 @@ void View::DrawStatistics()
|
||||
ImGui::TableNextRow();
|
||||
ImGui::TableNextColumn();
|
||||
|
||||
const bool isKernel = v.symAddr >> 63 != 0;
|
||||
const char* parentName = nullptr;
|
||||
if( symlen == 0 )
|
||||
if( symlen == 0 && !isKernel )
|
||||
{
|
||||
const auto parentAddr = m_worker.GetSymbolForAddress( v.symAddr );
|
||||
if( parentAddr != 0 )
|
||||
|
Loading…
Reference in New Issue
Block a user