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 dc07014 commit 984fc10Copy full SHA for 984fc10
src/executor/wall_time/perf/perf_map.rs
@@ -100,8 +100,16 @@ impl ModuleSymbols {
100
}
101
102
103
- // Filter out any symbols that still have zero size
104
- symbols.retain(|symbol| symbol.size > 0);
+ // Filter out any symbols that still have zero size or an empty name
+ symbols.retain(|symbol| {
105
+ let should_keep = symbol.size > 0 && !symbol.name.is_empty();
106
+
107
+ if !should_keep {
108
+ trace!("Filtering out symbol: {symbol:?}");
109
+ }
110
111
+ should_keep
112
+ });
113
114
if symbols.is_empty() {
115
return Err(anyhow::anyhow!("No symbols found"));
0 commit comments