Struct linux_perf_data::jitdump::JitDumpHeader
source · pub struct JitDumpHeader {
pub magic: [u8; 4],
pub version: u32,
pub total_size: u32,
pub elf_machine_arch: u32,
pub pid: u32,
pub timestamp: u64,
pub flags: u64,
}Expand description
The jitdump header.
Fields§
§magic: [u8; 4]Four bytes tagging the file type and declaring the endianness of this file. When interpreted as a u32 in the correct endian, this is 0x4A695444. Represents the string “JiTD” in ASCII form.
version: u32The format version. It is currently set to 1.
total_size: u32The size in bytes of file header.
elf_machine_arch: u32ELF architecture encoding (ELF e_machine value as specified in /usr/include/elf.h)
pid: u32The process ID of the JIT runtime process.
timestamp: u64The timestamp of when the file was created.
flags: u64A bitmask of flags.
Implementations§
Trait Implementations§
source§impl Clone for JitDumpHeader
impl Clone for JitDumpHeader
source§fn clone(&self) -> JitDumpHeader
fn clone(&self) -> JitDumpHeader
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 moreAuto Trait Implementations§
impl Freeze for JitDumpHeader
impl RefUnwindSafe for JitDumpHeader
impl Send for JitDumpHeader
impl Sync for JitDumpHeader
impl Unpin for JitDumpHeader
impl UnwindSafe for JitDumpHeader
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