mirror of
https://github.com/wolfpld/tracy.git
synced 2026-10-29 12:05:30 +00:00
Check for a substring match in CutCallstack.
This commit is contained in:
@@ -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++;
|
||||
|
||||
Reference in New Issue
Block a user