From f1773d5af43f5f29b100572e65a60d58f2ce7fac Mon Sep 17 00:00:00 2001 From: Zero King Date: Tue, 16 Jul 2024 22:59:03 +0800 Subject: [PATCH] docs(aya): fix typo --- aya/src/maps/ring_buf.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aya/src/maps/ring_buf.rs b/aya/src/maps/ring_buf.rs index e4cb3cb4..f6fc9377 100644 --- a/aya/src/maps/ring_buf.rs +++ b/aya/src/maps/ring_buf.rs @@ -35,7 +35,7 @@ use crate::{ /// reasons. By default, a notification will be sent if the consumer is caught up at the time of /// committing. The eBPF program can use the `BPF_RB_NO_WAKEUP` or `BPF_RB_FORCE_WAKEUP` flags to /// control this behavior. -/// * On the eBPF side, it supports the reverse-commit pattern where the event can be directly +/// * On the eBPF side, it supports the reserve-commit pattern where the event can be directly /// written into the ring without copying from a temporary location. /// * Dropped sample notifications go to the eBPF program as the return value of `reserve`/`output`, /// and not the userspace reader. This might require extra code to handle, but allows for more