mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-27 08:14:34 +00:00
Skip internal call stack capture inline frames for MSVC.
This commit is contained in:
parent
9dd869a5eb
commit
4dc05195ca
@ -6567,6 +6567,18 @@ void View::DrawCallstackWindow()
|
|||||||
for( uint8_t f=0; f<fsz; f++ )
|
for( uint8_t f=0; f<fsz; f++ )
|
||||||
{
|
{
|
||||||
const auto& frame = frameData->data[f];
|
const auto& frame = frameData->data[f];
|
||||||
|
auto txt = m_worker.GetString( frame.name );
|
||||||
|
|
||||||
|
if( fidx == 0 && f != fsz-1 )
|
||||||
|
{
|
||||||
|
if( strcmp( txt, "tracy::Callstack" ) == 0 ||
|
||||||
|
strcmp( txt, "tracy::Profiler::SendCallstack" ) == 0 ||
|
||||||
|
strcmp( txt, "tracy::ScopedZone::{ctor}" ) == 0 )
|
||||||
|
{
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
bidx++;
|
bidx++;
|
||||||
|
|
||||||
ImGui::Separator();
|
ImGui::Separator();
|
||||||
@ -6580,7 +6592,6 @@ void View::DrawCallstackWindow()
|
|||||||
}
|
}
|
||||||
ImGui::NextColumn();
|
ImGui::NextColumn();
|
||||||
|
|
||||||
auto txt = m_worker.GetString( frame.name );
|
|
||||||
ImGui::TextWrapped( "%s", txt );
|
ImGui::TextWrapped( "%s", txt );
|
||||||
if( ImGui::IsItemClicked() )
|
if( ImGui::IsItemClicked() )
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user