#[repr(C)]pub struct blaze_symbolize_src_process {
pub type_size: usize,
pub pid: u32,
pub debug_syms: bool,
pub perf_map: bool,
pub no_map_files: bool,
pub reserved: [u8; 17],
}Expand description
The parameters to load symbols and debug information from a process.
Load all ELF files in a process as the sources of symbols and debug information.
Fields§
§type_size: usizeThe size of this object’s type.
Make sure to initialize it to sizeof(<type>). This member is used to
ensure compatibility in the presence of member additions.
pid: u32The referenced process’ ID.
debug_syms: boolWhether or not to consult debug symbols to satisfy the request (if present).
perf_map: boolWhether to incorporate a process’ perf map file into the symbolization procedure.
no_map_files: boolWhether to work with /proc/<pid>/map_files/ entries or with
symbolic paths mentioned in /proc/<pid>/maps instead.
no_map_files usage is generally discouraged, as symbolic paths
are unlikely to work reliably in mount namespace contexts or
when files have been deleted from the file system. However, by
using symbolic paths (i.e., with no_map_files being true)
the need for requiring the SYS_ADMIN capability is eliminated.
reserved: [u8; 17]Unused member available for future expansion. Must be initialized to zero.