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
12 changes: 10 additions & 2 deletions src/executor/wall_time/perf/perf_map.rs
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,16 @@ impl ModuleSymbols {
}
}

// Filter out any symbols that still have zero size
symbols.retain(|symbol| symbol.size > 0);
// Filter out any symbols that still have zero size or an empty name
symbols.retain(|symbol| {
let should_keep = symbol.size > 0 && !symbol.name.is_empty();

if !should_keep {
trace!("Filtering out symbol: {symbol:?}");
}

should_keep
});

if symbols.is_empty() {
return Err(anyhow::anyhow!("No symbols found"));
Expand Down
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Loading