ext/pf2/src/signal_scheduler.rs in pf2-0.5.1 vs ext/pf2/src/signal_scheduler.rs in pf2-0.5.2
- old
+ new
@@ -101,9 +101,10 @@
sa.sa_flags = libc::SA_SIGINFO;
let err = unsafe { libc::sigaction(libc::SIGALRM, &sa, null_mut()) };
if err != 0 {
panic!("sigaction failed: {}", err);
}
+ log::debug!("Signal handler installed");
}
// Respond to the signal and collect a sample.
// This function is called when a timer fires.
//