Struct pprof::protos::Mapping [−][src]
pub struct Mapping { pub id: u64, pub memory_start: u64, pub memory_limit: u64, pub file_offset: u64, pub filename: i64, pub build_id: i64, pub has_functions: bool, pub has_filenames: bool, pub has_line_numbers: bool, pub has_inline_frames: bool, }
Fields
id: u64
Unique nonzero id for the mapping.
memory_start: u64
Address at which the binary (or DLL) is loaded into memory.
memory_limit: u64
The limit of the address range occupied by this mapping.
file_offset: u64
Offset in the binary that corresponds to the first mapped address.
filename: i64
The object this entry is loaded from. This can be a filename on disk for the main binary and shared libraries, or virtual abstractions like “[vdso]”.
Index into string table
build_id: i64
A string that uniquely identifies a particular program version with high probability. E.g., for binaries generated by GNU tools, it could be the contents of the .note.gnu.build-id field.
Index into string table
has_functions: bool
The following fields indicate the resolution of symbolic info.
has_filenames: bool
has_line_numbers: bool
has_inline_frames: bool
Trait Implementations
fn merge_field<B>(
&mut self,
tag: u32,
wire_type: WireType,
buf: &mut B,
ctx: DecodeContext
) -> Result<(), DecodeError> where
B: Buf,
Returns the encoded length of the message without a length delimiter.
Encodes the message to a buffer. Read more
Encodes the message with a length-delimiter to a buffer. Read more
Decodes an instance of the message from a buffer. Read more
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError> where
Self: Default,
B: Buf,
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError> where
Self: Default,
B: Buf,
Decodes a length-delimited instance of the message from the buffer.
Decodes an instance of the message from a buffer, and merges it into self
. Read more
Decodes a length-delimited instance of the message from buffer, and
merges it into self
. Read more
Auto Trait Implementations
impl RefUnwindSafe for Mapping
impl UnwindSafe for Mapping
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V