From a9cf64903c706ebd0863bccc4a1b35871a3492e6 Mon Sep 17 00:00:00 2001 From: Christian Hergert Date: Tue, 15 Aug 2023 14:40:31 -0700 Subject: [PATCH] libsysprof-capture: increase ring buffer size Make sure there is less chance of losing information in these buffers. --- src/libsysprof-capture/mapped-ring-buffer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libsysprof-capture/mapped-ring-buffer.c b/src/libsysprof-capture/mapped-ring-buffer.c index ef55c1c1..33716827 100644 --- a/src/libsysprof-capture/mapped-ring-buffer.c +++ b/src/libsysprof-capture/mapped-ring-buffer.c @@ -33,7 +33,7 @@ #include "mapped-ring-buffer.h" -#define DEFAULT_N_PAGES 32 +#define DEFAULT_N_PAGES 63 #define BUFFER_MAX_SIZE ((UINT32_MAX/2)-_sysprof_getpagesize()) enum {