Patent ID: 8756461

Claim:
A method comprising: concurrently executing a plurality of software processes by an operating system of a control unit of a network device, wherein each of the plurality of processes comprises an instance of one of a plurality of application programs, wherein each of the plurality of processes comprises one or more separate threads of instruction execution; in response to determining that an error has occurred when executing a system call issued by a first one of the one or more threads, configuring the operating system to enable tracing for the first one of the one or more threads but not a second one of the one or more threads corresponding to the one or any other one of the plurality of processes and reissuing the system call with the first one of the one or more threads; and tracing, with the control unit, execution of the reissued system call to generate a trace log that traces execution of the system call by the operating system without the trace log tracing execution of any other ones of the one or more threads corresponding to those of the plurality of processes that are also being executed by the operating system during execution of the system call.