Struct pprof::Symbol [−][src]
pub struct Symbol {
pub name: Option<Vec<u8>>,
pub addr: Option<*mut c_void>,
pub lineno: Option<u32>,
pub filename: Option<PathBuf>,
}
Expand description
Symbol is a representation of a function symbol. It contains name and addr of it. If built with debug message, it can also provide line number and filename. The name in it is not demangled.
Fields
name: Option<Vec<u8>>
This name is raw name of a symbol (which hasn’t been demangled).
addr: Option<*mut c_void>
The address of the function. It is not 100% trustworthy.
lineno: Option<u32>
Line number of this symbol. If compiled with debug message, you can get it.
filename: Option<PathBuf>
Filename of this symbol. If compiled with debug message, you can get it.
Implementations
Trait Implementations
Auto Trait Implementations
Blanket Implementations
Mutably borrows from an owned value. Read more