pub fn begin_syscall_trace_for_testing(name: &'static str) -> SyscallTraceScopeExpand description
Opens a syscall duration on the current thread even if CATEGORY_STARNIX is disabled, so
tests can check that code ends it. Drop the returned scope to clear it.