Struct wasmtime_jit_debug::perf_jitdump::CodeLoadRecord
source · #[repr(C)]pub struct CodeLoadRecord {
pub header: RecordHeader,
pub pid: u32,
pub tid: u32,
pub virtual_address: u64,
pub address: u64,
pub size: u64,
pub index: u64,
}
Expand description
The CodeLoadRecord is used for describing jitted functions
Fields§
§header: RecordHeader
Fixed sized header that describes this record
pid: u32
uint32_t pid
: OS process id of the runtime generating the jitted code
tid: u32
uint32_t tid
: OS thread identification of the runtime thread generating the jitted code
virtual_address: u64
uint64_t vma
: virtual address of jitted code start
address: u64
uint64_t code_addr
: code start address for the jitted code. By default vma = code_addr
size: u64
uint64_t code_size
: size in bytes of the generated jitted code
index: u64
uint64_t code_index
: unique identifier for the jitted code (see below)
Trait Implementations§
source§impl Clone for CodeLoadRecord
impl Clone for CodeLoadRecord
source§fn clone(&self) -> CodeLoadRecord
fn clone(&self) -> CodeLoadRecord
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 CodeLoadRecord
impl Debug for CodeLoadRecord
source§impl Default for CodeLoadRecord
impl Default for CodeLoadRecord
source§fn default() -> CodeLoadRecord
fn default() -> CodeLoadRecord
Returns the “default value” for a type. Read more