From 70b4e681301eb23ca776cd703e11f19cc879ac69 Mon Sep 17 00:00:00 2001 From: Michal Rostecki Date: Thu, 26 May 2022 17:15:41 +0200 Subject: [PATCH] common: Bump the buffer size 1024 is too small for many kernel string limits (i.e. PATH_MAX, which is 4096). Signed-off-by: Michal Rostecki --- aya-log/aya-log-common/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aya-log/aya-log-common/src/lib.rs b/aya-log/aya-log-common/src/lib.rs index b30fafc7..5a0bd419 100644 --- a/aya-log/aya-log-common/src/lib.rs +++ b/aya-log/aya-log-common/src/lib.rs @@ -1,6 +1,6 @@ #![no_std] -pub const LOG_BUF_CAPACITY: usize = 1024; +pub const LOG_BUF_CAPACITY: usize = 8192; pub const LOG_FIELDS: usize = 7;