Skip to main content

complete_syscall_trace

Function complete_syscall_trace 

Source
pub fn complete_syscall_trace()
Expand description

Ends the syscall duration that is open on the current thread, if any, and writes it to the trace.

Called early by TraceMarkerFile::write, right before it records an ftrace/print event, so that the syscall slice ends at or before the event’s timestamp.