We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e0c6298 commit de3596bCopy full SHA for de3596b
util/Cargo.toml
@@ -1,6 +1,6 @@
1
[package]
2
name = "pprof_util"
3
-version = "0.8.0"
+version = "0.8.1"
4
edition = "2021"
5
description = "various utilities for representing and manipulating profiling data"
6
publish = true
util/src/lib.rs
@@ -195,7 +195,7 @@ impl StackProfile {
195
// Convert runtime address to file-relative address using found mapping data
196
let file_relative_addr = mapping_info
197
.map(|(_, mapping)| {
198
- (addr as usize - mapping.memory_start + mapping.file_offset as usize) as u64
+ (addr as usize - mapping.memory_start + mapping.memory_offset) as u64
199
})
200
.unwrap_or(addr);
201
0 commit comments