1
0
mirror of https://github.com/wolfpld/tracy synced 2025-04-28 20:23:51 +00:00

Reduce ring buffer size to workaround sigbus on android.

This commit is contained in:
Bartosz Taudul 2020-08-12 18:46:19 +02:00
parent 195826f991
commit f7574c5adc

View File

@ -659,7 +659,7 @@ static void SetupSampling( int64_t& samplingPeriod )
tracy_free( s_ring );
return;
}
new( s_ring+i ) RingBuffer( 1024*1024, fd );
new( s_ring+i ) RingBuffer( 64*1024, fd );
}
s_threadSampling = (Thread*)tracy_malloc( sizeof( Thread ) );