pub struct ResolvedProbe {
pub library_path: PathBuf,
pub symbol_name: String,
pub offset: u64,
pub address: u64,
pub size: u64,
pub demangled: Option<String>,
pub is_ret: bool,
}Expand description
A resolved probe target — a concrete (library, symbol, offset) triple
that can be passed to UProbe::attach().
Fields§
§library_path: PathBufAbsolute path to the ELF binary or shared library.
symbol_name: StringThe raw (mangled) symbol name as it appears in the ELF.
offset: u64Byte offset from the start of the symbol (from the spec’s +offset).
address: u64Virtual address of the symbol in the ELF file.
size: u64Symbol size (if available from ELF).
demangled: Option<String>Demangled name (if different from symbol_name).
is_ret: boolWhether this should be a return probe.
Trait Implementations§
Source§impl Clone for ResolvedProbe
impl Clone for ResolvedProbe
Source§fn clone(&self) -> ResolvedProbe
fn clone(&self) -> ResolvedProbe
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 ResolvedProbe
impl RefUnwindSafe for ResolvedProbe
impl Send for ResolvedProbe
impl Sync for ResolvedProbe
impl Unpin for ResolvedProbe
impl UnwindSafe for ResolvedProbe
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