Check for a substring match in CutCallstack.

This commit is contained in:
Bartosz Taudul
2026-01-29 22:44:13 +01:00
parent 3ddb96b9af
commit eb18dafb22
+1 -1
View File
@@ -4124,7 +4124,7 @@ void Profiler::CutCallstack( void* callstack, const char** skipBefore )
for( i=0; i<sz; i++ )
{
auto name = DecodeCallstackPtrFast( uint64_t( data[i] ) );
const bool found = strcmp( name, *skipBefore ) == 0;
const bool found = strstr( name, *skipBefore ) != nullptr;
if( found )
{
i++;