Skip to content

Commit

Permalink
Mark should_include as potentially unused.
Browse files Browse the repository at this point in the history
  • Loading branch information
mstange committed May 4, 2024
1 parent 9c72130 commit 58fbc2b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions samply/src/shared/included_processes.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 58fbc2b

Please sign in to comment.