pub fn begin_syscall_trace(
name: impl FnOnce() -> &'static str,
) -> Option<SyscallTraceScope>Expand description
Starts a CATEGORY_STARNIX duration for the syscall about to run on the current thread.
Returns None, without calling name, if the category is disabled. Otherwise the duration
ends when the returned scope is dropped, or earlier at a call to complete_syscall_trace.