Struct wasmtime_jit_debug::perf_jitdump::JitDumpFile
source · [−]pub struct JitDumpFile { /* private fields */ }
Expand description
Interface for driving the creation of jitdump files
Implementations
sourceimpl JitDumpFile
impl JitDumpFile
sourceimpl JitDumpFile
impl JitDumpFile
sourcepub fn get_time_stamp(&self) -> u64
pub fn get_time_stamp(&self) -> u64
Returns timestamp from a single source
sourcepub fn next_code_index(&mut self) -> u64
pub fn next_code_index(&mut self) -> u64
Returns the next code index
pub fn write_file_header(&mut self) -> Result<()>
pub fn write_code_load_record(
&mut self,
record_name: &str,
cl_record: CodeLoadRecord,
code_buffer: &[u8]
) -> Result<()>
sourcepub fn write_debug_info_record(
&mut self,
dir_record: DebugInfoRecord
) -> Result<()>
pub fn write_debug_info_record(
&mut self,
dir_record: DebugInfoRecord
) -> Result<()>
Write DebugInfoRecord to open jit dump file. Must be written before the corresponding CodeLoadRecord.
sourcepub fn write_debug_info_entries(
&mut self,
die_entries: Vec<DebugEntry>
) -> Result<()>
pub fn write_debug_info_entries(
&mut self,
die_entries: Vec<DebugEntry>
) -> Result<()>
Write DebugInfoRecord to open jit dump file. Must be written before the corresponding CodeLoadRecord.
pub fn dump_code_load_record(
&mut self,
method_name: &str,
addr: *const u8,
len: usize,
timestamp: u64,
pid: u32,
tid: u32
) -> Result<()>
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for JitDumpFile
impl Send for JitDumpFile
impl Sync for JitDumpFile
impl Unpin for JitDumpFile
impl UnwindSafe for JitDumpFile
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more