Dedup hprof stuff

This commit is contained in:
Lukas Wirth 2024-03-07 09:34:31 +01:00
parent 09d33f3e1e
commit 9c2fa76c84
2 changed files with 5 additions and 5 deletions

View File

@ -4,7 +4,7 @@
use std::io;
use anyhow::Context;
use tracing::{level_filters::LevelFilter, Level};
use tracing::level_filters::LevelFilter;
use tracing_subscriber::{
filter::Targets, fmt::MakeWriter, layer::SubscriberExt, util::SubscriberInitExt, Layer,
Registry,

View File

@ -71,11 +71,11 @@ where
None => true,
};
metadata.is_span()
&& allowed
allowed
&& metadata.is_span()
&& metadata.level() >= &Level::INFO
// && !metadata.target().starts_with("salsa")
&& !metadata.target().contains("compute_exhaustiveness_and_usefulness")
&& !metadata.target().starts_with("salsa")
&& metadata.name() != "compute_exhaustiveness_and_usefulness"
&& !metadata.target().starts_with("chalk")
});