We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 396ff8e commit 116668aCopy full SHA for 116668a
src/platform/nix_impl/profiler.rs
@@ -7,7 +7,7 @@ use smallvec::SmallVec;
7
use nix::sys::signal;
8
9
use crate::error::Result;
10
-use crate::profiler::PROFILER;
+use crate::profiler::{trigger_lazy, PROFILER};
11
use crate::{MAX_DEPTH, MAX_THREAD_NAME};
12
13
pub fn register() -> Result<()> {
src/profiler.rs
@@ -123,7 +123,7 @@ pub struct ProfilerGuard<'a> {
123
timer: Option<Timer>,
124
}
125
126
-fn trigger_lazy() {
+pub(crate) fn trigger_lazy() {
127
let _ = backtrace::Backtrace::new();
128
let _profiler = PROFILER.read();
129
0 commit comments