Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 7 additions & 9 deletions src/run/runner/wall_time/perf/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -215,15 +215,13 @@ impl PerfRunner {
procfs::process::Process::new(pid as _).expect("Failed to find benchmark process");
let exe_maps = bench_proc.maps().expect("Failed to read /proc/{pid}/maps");

if is_codspeed_debug_enabled() {
debug!("Process memory mappings for PID {pid}:");
for map in exe_maps.iter().sorted_by_key(|m| m.address.0) {
let (base_addr, end_addr) = map.address;
debug!(
" {:016x}-{:016x} {:08x} {:?} {:?} ",
base_addr, end_addr, map.offset, map.pathname, map.perms,
);
}
debug!("Process memory mappings for PID {pid}:");
for map in exe_maps.iter().sorted_by_key(|m| m.address.0) {
let (base_addr, end_addr) = map.address;
debug!(
" {:016x}-{:016x} {:08x} {:?} {:?} ",
base_addr, end_addr, map.offset, map.pathname, map.perms,
);
}

for map in &exe_maps {
Expand Down

Large diffs are not rendered by default.

Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Loading