pub struct UProbeConfig {
pub function: String,
pub path: String,
pub is_retprobe: bool,
pub pid: Option<i32>,
}Expand description
Legacy configuration for uprobe attachment (single target).
Kept for backward compatibility; prefer ResolvedProbe for new code.
Fields§
§function: StringFunction name (with optional +offset)
path: StringPath to binary/library (absolute or library name)
is_retprobe: boolWhether this is a return probe
pid: Option<i32>Optional PID to attach to (None = all processes)
Trait Implementations§
Source§impl Clone for UProbeConfig
impl Clone for UProbeConfig
Source§fn clone(&self) -> UProbeConfig
fn clone(&self) -> UProbeConfig
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for UProbeConfig
impl RefUnwindSafe for UProbeConfig
impl Send for UProbeConfig
impl Sync for UProbeConfig
impl Unpin for UProbeConfig
impl UnwindSafe for UProbeConfig
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