Skip to content

Commit

Permalink
collector: merge two import blocks
Browse files Browse the repository at this point in the history
Cosmetic only.

Signed-off-by: Antoine Tenart <[email protected]>
  • Loading branch information
atenart committed Sep 26, 2024
1 parent 532c46a commit daf3558
Showing 1 changed file with 15 additions and 20 deletions.
35 changes: 15 additions & 20 deletions retis/src/collect/collector.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,25 @@ use nix::unistd::Uid;

use super::cli::Collect;
use crate::{
cli::{CliDisplayFormat, SubCommandRunner},
cli::{dynamic::DynamicCommand, CliConfig, CliDisplayFormat, FullCli, SubCommandRunner},
core::{
events::RetisEventsFactory,
filters::{meta::filter::FilterMeta, packets::filter::FilterPacketType},
events::{BpfEventsFactory, RetisEventsFactory},
filters::{
filters::{BpfFilter, Filter},
meta::filter::FilterMeta,
packets::filter::{FilterPacket, FilterPacketType},
},
inspect::check::collection_prerequisites,
kernel::Symbol,
probe::kernel::utils::parse_probe,
probe::{
kernel::{probe_stack::ProbeStack, utils::parse_probe},
*,
},
tracking::{gc::TrackingGC, skb_tracking::init_tracking},
},
events::*,
helpers::{signals::Running, time::*},
module::{ModuleId, Modules},
process::display::*,
};

Expand All @@ -32,22 +43,6 @@ use crate::core::{
events::FactoryId,
probe::kernel::{config::init_stack_map, kernel::KernelEventFactory},
};
use crate::{
cli::{dynamic::DynamicCommand, CliConfig, FullCli},
core::{
events::BpfEventsFactory,
filters::{
filters::{BpfFilter, Filter},
packets::filter::FilterPacket,
},
inspect::check::collection_prerequisites,
probe::{kernel::probe_stack::ProbeStack, *},
tracking::{gc::TrackingGC, skb_tracking::init_tracking},
},
events::EventResult,
helpers::{signals::Running, time::*},
module::{ModuleId, Modules},
};

/// Generic trait representing a collector. All collectors are required to
/// implement this, as they'll be manipulated through this trait.
Expand Down

0 comments on commit daf3558

Please sign in to comment.