mirror of
https://github.com/wolfpld/tracy
synced 2025-04-30 12:53:51 +00:00
Add missing SetThreadName() calls.
This commit is contained in:
parent
332262dd84
commit
0cbb853945
@ -598,6 +598,7 @@ static void ProcessTraceLines( FILE* f )
|
|||||||
#ifdef __ANDROID__
|
#ifdef __ANDROID__
|
||||||
void SysTraceWorker( void* ptr )
|
void SysTraceWorker( void* ptr )
|
||||||
{
|
{
|
||||||
|
SetThreadName( "Tracy SysTrace" );
|
||||||
int pipefd[2];
|
int pipefd[2];
|
||||||
if( pipe( pipefd ) == 0 )
|
if( pipe( pipefd ) == 0 )
|
||||||
{
|
{
|
||||||
@ -628,6 +629,7 @@ void SysTraceWorker( void* ptr )
|
|||||||
#else
|
#else
|
||||||
void SysTraceWorker( void* ptr )
|
void SysTraceWorker( void* ptr )
|
||||||
{
|
{
|
||||||
|
SetThreadName( "Tracy SysTrace" );
|
||||||
char tmp[256];
|
char tmp[256];
|
||||||
memcpy( tmp, BasePath, sizeof( BasePath ) - 1 );
|
memcpy( tmp, BasePath, sizeof( BasePath ) - 1 );
|
||||||
memcpy( tmp + sizeof( BasePath ) - 1, TracePipe, sizeof( TracePipe ) );
|
memcpy( tmp + sizeof( BasePath ) - 1, TracePipe, sizeof( TracePipe ) );
|
||||||
|
Loading…
x
Reference in New Issue
Block a user