Update aya/src/bpf.rs

Co-authored-by: Alessandro Decina <alessandro.d@gmail.com>
pull/632/head
Mary 1 year ago committed by GitHub
parent 93435fc854
commit 77cce840f7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -203,6 +203,7 @@ impl<'a> BpfLoader<'a> {
} }
/// Sets the value of a global variable. /// 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. /// 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: /// From Rust eBPF, a global variable can be defined as follows:

Loading…
Cancel
Save