diff --git a/samply/src/shared/included_processes.rs b/samply/src/shared/included_processes.rs index be3a4ead..3ccbc7cf 100644 --- a/samply/src/shared/included_processes.rs +++ b/samply/src/shared/included_processes.rs @@ -9,6 +9,7 @@ pub struct IncludedProcesses { } impl IncludedProcesses { + #[allow(unused)] // TODO: Remove once the perf.data importer respects IncludedProcesses pub fn should_include(&self, name: Option<&str>, pid: u32) -> bool { if self.pids.contains(&pid) { return true;