pub struct GoProfiler {}Implementations§
Source§impl GoProfiler
impl GoProfiler
Source§impl GoProfiler
impl GoProfiler
pub fn profile_continuous(&self, go_file: &str) -> Result<ProfileResult, String>
pub fn profile_to_common_format( &self, go_file: &str, ) -> Result<CommonProfileData, String>
Sourcepub fn profile_pid(&self, pid: u32) -> Result<ProfileResult, String>
pub fn profile_pid(&self, pid: u32) -> Result<ProfileResult, String>
Profile by attaching to PID (not supported - Go processes need pprof HTTP endpoint)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for GoProfiler
impl RefUnwindSafe for GoProfiler
impl Send for GoProfiler
impl Sync for GoProfiler
impl Unpin for GoProfiler
impl UnwindSafe for GoProfiler
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