From c5c9b2d5d2512bb70c5d1f92eddf18e35611faa2 Mon Sep 17 00:00:00 2001 From: Sebastian Reimers Date: Wed, 27 Sep 2023 18:08:10 +0200 Subject: [PATCH] increase buffer size and tmr interval --- src/trace/trace.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/trace/trace.c b/src/trace/trace.c index f34627f77..ec81a04e2 100644 --- a/src/trace/trace.c +++ b/src/trace/trace.c @@ -30,11 +30,11 @@ #endif #ifndef TRACE_BUFFER_SIZE -#define TRACE_BUFFER_SIZE 10000 +#define TRACE_BUFFER_SIZE 100000 #endif enum { - TRACE_FLUSH_TMR = 1000, + TRACE_FLUSH_TMR = 10000, }; #define DEBUG_MODULE "trace" @@ -106,6 +106,7 @@ static inline int get_process_id(void) static int flush_worker(void *arg) { (void)arg; + re_trace_flush(); return 0;