diff --git a/aya-log/aya-log-ebpf/src/lib.rs b/aya-log/aya-log-ebpf/src/lib.rs index 56ae6746..5d2dd3b3 100644 --- a/aya-log/aya-log-ebpf/src/lib.rs +++ b/aya-log/aya-log-ebpf/src/lib.rs @@ -26,7 +26,7 @@ pub static mut AYA_LOG_BUF: PerCpuArray = PerCpuArray::with_max_entries( #[doc(hidden)] #[map] -pub static mut AYA_LOGS: PerfEventByteArray = PerfEventByteArray::with_max_entries(1024, 0); +pub static mut AYA_LOGS: PerfEventByteArray = PerfEventByteArray::new(0); #[doc(hidden)] pub struct LogBufWriter<'a> {