mz_prof

Function symbolize

Source
pub fn symbolize(profile: &StackProfile) -> BTreeMap<usize, Vec<String>>
Expand description

Given some stack traces, generate a map of addresses to their corresponding symbols.

Each address could correspond to more than one symbol, because of inlining. (E.g. if 0x1234 comes from “g”, which is inlined in “f”, the corresponding vec of symbols will be [“f”, “g”].)