pub struct KprobeMultiOpts {
pub symbols: Vec<String>,
pub cookies: Vec<u64>,
pub retprobe: bool,
/* private fields */
}
Expand description
Options to optionally be provided when attaching to multiple kprobes.
Fields§
§symbols: Vec<String>
List of symbol names to attach to.
Array of custom user-provided values accessible through bpf_get_attach_cookie
.
retprobe: bool
kprobes are return probes, invoked at function return time.
Trait Implementations§
Source§impl Clone for KprobeMultiOpts
impl Clone for KprobeMultiOpts
Source§fn clone(&self) -> KprobeMultiOpts
fn clone(&self) -> KprobeMultiOpts
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for KprobeMultiOpts
impl Debug for KprobeMultiOpts
Source§impl Default for KprobeMultiOpts
impl Default for KprobeMultiOpts
Source§fn default() -> KprobeMultiOpts
fn default() -> KprobeMultiOpts
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for KprobeMultiOpts
impl RefUnwindSafe for KprobeMultiOpts
impl Send for KprobeMultiOpts
impl Sync for KprobeMultiOpts
impl Unpin for KprobeMultiOpts
impl UnwindSafe for KprobeMultiOpts
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more