diff --git a/src/executor/wall_time/perf/perf_map.rs b/src/executor/wall_time/perf/perf_map.rs index 4cadf0f4..2e9883ca 100644 --- a/src/executor/wall_time/perf/perf_map.rs +++ b/src/executor/wall_time/perf/perf_map.rs @@ -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")); diff --git a/src/executor/wall_time/perf/snapshots/codspeed__executor__wall_time__perf__debug_info__tests__rust_divan_debug_info.snap b/src/executor/wall_time/perf/snapshots/codspeed__executor__wall_time__perf__debug_info__tests__rust_divan_debug_info.snap index d5156bd8..a0be6c21 100644 --- a/src/executor/wall_time/perf/snapshots/codspeed__executor__wall_time__perf__debug_info__tests__rust_divan_debug_info.snap +++ b/src/executor/wall_time/perf/snapshots/codspeed__executor__wall_time__perf__debug_info__tests__rust_divan_debug_info.snap @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:cecbdde3c24b806a75f9e8a438f82419f33f9fcc86b9966352685a35784abec6 -size 520675 +oid sha256:3a775c5e200672234bbf71312cd4db90bfb81cf99907ca0b7c45cc38cb34679f +size 520147 diff --git a/src/executor/wall_time/perf/snapshots/codspeed__executor__wall_time__perf__debug_info__tests__the_algorithms_debug_info.snap b/src/executor/wall_time/perf/snapshots/codspeed__executor__wall_time__perf__debug_info__tests__the_algorithms_debug_info.snap index 5305098a..f5b84873 100644 --- a/src/executor/wall_time/perf/snapshots/codspeed__executor__wall_time__perf__debug_info__tests__the_algorithms_debug_info.snap +++ b/src/executor/wall_time/perf/snapshots/codspeed__executor__wall_time__perf__debug_info__tests__the_algorithms_debug_info.snap @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:da29e6ceb514be0437b501e406016656d2ddbc9f1cd0619ea29df64e7bc69e54 -size 568064 +oid sha256:e72d1de3d0e4984f132ed2573cf996015da2db162df712bd58abe64fda510005 +size 567622 diff --git a/src/executor/wall_time/perf/snapshots/codspeed__executor__wall_time__perf__perf_map__tests__rust_divan_symbols.snap b/src/executor/wall_time/perf/snapshots/codspeed__executor__wall_time__perf__perf_map__tests__rust_divan_symbols.snap index fc101f0b..f626fc68 100644 --- a/src/executor/wall_time/perf/snapshots/codspeed__executor__wall_time__perf__perf_map__tests__rust_divan_symbols.snap +++ b/src/executor/wall_time/perf/snapshots/codspeed__executor__wall_time__perf__perf_map__tests__rust_divan_symbols.snap @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:8355b90acf9569acb7288849bda81ec1d10b8457245088ed78835df7d6785fdc -size 499264 +oid sha256:96076d39277b33ed3bbe060af13400acf3007a61c4b28fe5d93609122774a8dc +size 498482 diff --git a/src/executor/wall_time/perf/snapshots/codspeed__executor__wall_time__perf__perf_map__tests__the_algorithms_symbols.snap b/src/executor/wall_time/perf/snapshots/codspeed__executor__wall_time__perf__perf_map__tests__the_algorithms_symbols.snap index a3f1612d..79b9c208 100644 --- a/src/executor/wall_time/perf/snapshots/codspeed__executor__wall_time__perf__perf_map__tests__the_algorithms_symbols.snap +++ b/src/executor/wall_time/perf/snapshots/codspeed__executor__wall_time__perf__perf_map__tests__the_algorithms_symbols.snap @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:f74ef3ee84c89fc51e4546c0d8a41fe4565f91004eb80bed83812df31d01e4fb -size 557917 +oid sha256:4fba1f2413398a08fb12a54ecbefbf69c3a18cf5bf9d544386f2e1d794bf81f1 +size 557134