From b8d7824a4f2480e18a5994537aa5270fec9a9115 Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Tue, 21 Dec 2021 13:27:08 +0100 Subject: [PATCH] Increase ring buffer size. --- client/TracySysTrace.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/TracySysTrace.cpp b/client/TracySysTrace.cpp index b8e059fd..26a1c6ed 100644 --- a/client/TracySysTrace.cpp +++ b/client/TracySysTrace.cpp @@ -649,7 +649,7 @@ static int s_numCpus = 0; static int s_numBuffers = 0; static int s_ctxBufferIdx = 0; -static constexpr size_t RingBufSize = 64*1024; +static constexpr size_t RingBufSize = 256*1024; static RingBuffer* 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 )