Invention Grant
- Patent Title: Selectively tracing portions of computer process execution
-
Application No.: US16174273Application Date: 2018-10-29
-
Publication No.: US10740219B2Publication Date: 2020-08-11
- Inventor: Del Myers , Thomas Lai , Patrick Nelson , Jordi Mola , Juan Carlos Arevalo Baeza , Stephen Harris Toub
- Applicant: Microsoft Technology Licensing, LLC
- Applicant Address: US WA Redmond
- Assignee: WORKMAN NYDEGGER
- Current Assignee: WORKMAN NYDEGGER
- Current Assignee Address: US WA Redmond
- Agency: Workman Nydegger
- Main IPC: G06F11/36
- IPC: G06F11/36

Abstract:
Described technologies support selectively tracing a process's execution, with some extra tracing done beyond the code the developer wanted traced, but with significantly reduced computational cost, by reducing the number of trace enablement and disablement operations. A trace controller uses a tracing disablement distance variable whose values indicate the computational distance from trace disablement. A distance variable modifier automatically moves the distance variable closer to a stop-tracing value as the process executes. A create task function is modified to include the setting of an indicator that a newly created task is to be traced if a current task or thread is being traced. An execute task function is modified to request the tracing of the newly created task when it is executed based on the indicator, thereby enabling selective tracing that operates across process boundaries and traces asynchronous code execution.
Public/Granted literature
- US20190332520A1 Selectively Tracing Portions Of Computer Process Execution Public/Granted day:2019-10-31
Information query