diff --git a/src/DrDotnet.Profilers/lib.rs b/src/DrDotnet.Profilers/lib.rs index 741abffe..bfdcd78b 100644 --- a/src/DrDotnet.Profilers/lib.rs +++ b/src/DrDotnet.Profilers/lib.rs @@ -11,8 +11,6 @@ extern crate bitflags; #[macro_use] extern crate log; -use crate::profilers::pstacks_profiler::ParallelStacksProfiler; - mod rust_protobuf_protos { include!(concat!(env!("OUT_DIR"), "/rust_protobuf_protos/mod.rs")); } diff --git a/src/DrDotnet.Profilers/profilers/mod.rs b/src/DrDotnet.Profilers/profilers/mod.rs index 6da3e559..dcc91546 100644 --- a/src/DrDotnet.Profilers/profilers/mod.rs +++ b/src/DrDotnet.Profilers/profilers/mod.rs @@ -20,6 +20,7 @@ pub mod duplicated_strings_profiler; pub use duplicated_strings_profiler::DuplicatedStringsProfiler as DuplicatedStringsProfiler; pub mod pstacks_profiler; +pub use pstacks_profiler::ParallelStacksProfiler as ParallelStacksProfiler; use simplelog::*; use std::fs::File;