mirror of
https://github.com/wolfpld/tracy
synced 2025-04-29 12:23:53 +00:00
Reduce ring buffer size to workaround sigbus on android.
This commit is contained in:
parent
195826f991
commit
f7574c5adc
@ -659,7 +659,7 @@ static void SetupSampling( int64_t& samplingPeriod )
|
|||||||
tracy_free( s_ring );
|
tracy_free( s_ring );
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
new( s_ring+i ) RingBuffer( 1024*1024, fd );
|
new( s_ring+i ) RingBuffer( 64*1024, fd );
|
||||||
}
|
}
|
||||||
|
|
||||||
s_threadSampling = (Thread*)tracy_malloc( sizeof( Thread ) );
|
s_threadSampling = (Thread*)tracy_malloc( sizeof( Thread ) );
|
||||||
|
Loading…
x
Reference in New Issue
Block a user