1
0
mirror of https://github.com/wolfpld/tracy.git synced 2025-03-20 07:40:02 +08:00

Different color for kernel frames in callstacks.

This commit is contained in:
Bartosz Taudul 2021-06-12 16:16:56 +02:00
parent 0c13889589
commit f773e18375
No known key found for this signature in database
GPG Key ID: B7FE2008B7575DF3

View File

@ -13559,6 +13559,10 @@ void View::DrawCallstackWindow()
{
TextDisabledUnformatted( txt );
}
else if( m_worker.GetCanonicalPointer( entry ) >> 63 != 0 )
{
TextColoredUnformatted( 0xFF8888FF, txt );
}
else
{
ImGui::TextUnformatted( txt );
@ -15678,6 +15682,10 @@ void View::DrawSampleParents()
{
TextDisabledUnformatted( txt );
}
else if( m_worker.GetCanonicalPointer( entry ) >> 63 != 0 )
{
TextColoredUnformatted( 0xFF8888FF, txt );
}
else
{
ImGui::TextUnformatted( txt );
@ -17445,6 +17453,10 @@ void View::CallstackTooltip( uint32_t idx )
{
TextDisabledUnformatted( txt );
}
else if( m_worker.GetCanonicalPointer( entry ) >> 63 != 0 )
{
TextColoredUnformatted( 0xFF8888FF, txt );
}
else
{
ImGui::TextUnformatted( txt );