Increase ring buffer size.

This commit is contained in:
Bartosz Taudul 2021-12-21 13:27:08 +01:00
parent 5768486ac0
commit b8d7824a4f
No known key found for this signature in database
GPG Key ID: B7FE2008B7575DF3

View File

@ -649,7 +649,7 @@ static int s_numCpus = 0;
static int s_numBuffers = 0; static int s_numBuffers = 0;
static int s_ctxBufferIdx = 0; static int s_ctxBufferIdx = 0;
static constexpr size_t RingBufSize = 64*1024; static constexpr size_t RingBufSize = 256*1024;
static RingBuffer<RingBufSize>* s_ring = nullptr; static RingBuffer<RingBufSize>* s_ring = nullptr;
static int perf_event_open( struct perf_event_attr* hw_event, pid_t pid, int cpu, int group_fd, unsigned long flags ) static int perf_event_open( struct perf_event_attr* hw_event, pid_t pid, int cpu, int group_fd, unsigned long flags )