Skip to content

Commit

Permalink
fix linux tests
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Jordan <[email protected]>
  • Loading branch information
Jardynq committed Jul 24, 2022
1 parent 396ff8e commit 116668a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/platform/nix_impl/profiler.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ use smallvec::SmallVec;
use nix::sys::signal;

use crate::error::Result;
use crate::profiler::PROFILER;
use crate::profiler::{trigger_lazy, PROFILER};
use crate::{MAX_DEPTH, MAX_THREAD_NAME};

pub fn register() -> Result<()> {
Expand Down
2 changes: 1 addition & 1 deletion src/profiler.rs
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ pub struct ProfilerGuard<'a> {
timer: Option<Timer>,
}

fn trigger_lazy() {
pub(crate) fn trigger_lazy() {
let _ = backtrace::Backtrace::new();
let _profiler = PROFILER.read();
}
Expand Down

0 comments on commit 116668a

Please sign in to comment.