Patent ID: 8898644

Claim:
A method for providing efficient unified tracing of kernel and user events with multi-mode stack walking in a software system, comprising steps of: receiving an input of tracing target and tracing mode information, said tracing target being a process or a thread of an application to be traced and the application's name is provided as input and tracing mode being a scheme to collect user code information which is involved with tracing performance and a storage amount for a log; executing kernel functions responsive to an operating system kernel execution; executing certain kernel functions being tracked and generating kernel events for logging by a kernel events generator; collecting the user code information for the certain kernel events with a multi-mode stack walking component; and combining the kernel events from the kernel events generator and the user code information from the multi-mode stack walking component for generating a kernel and user unified log, for the kernel events reflecting system performance bugs, the unified log enables improving debugging of code of the application because it pinpoints the corresponding user code information.