From 77cce840f7957f12e29f29e1f05762173bb2b92b Mon Sep 17 00:00:00 2001 From: Mary Date: Fri, 30 Jun 2023 14:15:21 +0200 Subject: [PATCH] Update aya/src/bpf.rs Co-authored-by: Alessandro Decina --- aya/src/bpf.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/aya/src/bpf.rs b/aya/src/bpf.rs index 4a6df7a1..961b0f06 100644 --- a/aya/src/bpf.rs +++ b/aya/src/bpf.rs @@ -203,6 +203,7 @@ impl<'a> BpfLoader<'a> { } /// Sets the value of a global variable. + /// /// If the `must_exist` argument is `true`, [`BpfLoader::load`] will fail with [`ParseError::SymbolNotFound`] if the loaded object code does not contain the variable. /// /// From Rust eBPF, a global variable can be defined as follows: