mirror of
https://github.com/wolfpld/tracy.git
synced 2024-09-20 05:42:18 +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::TableNextRow();
|
||||||
ImGui::TableNextColumn();
|
ImGui::TableNextColumn();
|
||||||
|
|
||||||
|
const bool isKernel = v.symAddr >> 63 != 0;
|
||||||
const char* parentName = nullptr;
|
const char* parentName = nullptr;
|
||||||
if( symlen == 0 )
|
if( symlen == 0 && !isKernel )
|
||||||
{
|
{
|
||||||
const auto parentAddr = m_worker.GetSymbolForAddress( v.symAddr );
|
const auto parentAddr = m_worker.GetSymbolForAddress( v.symAddr );
|
||||||
if( parentAddr != 0 )
|
if( parentAddr != 0 )
|
||||||
|
Loading…
Reference in New Issue
Block a user