Invention Grant
- Patent Title: Leveraging existing logic paths during bit-accurate processor tracing
-
Application No.: US16180753Application Date: 2018-11-05
-
Publication No.: US10860485B2Publication Date: 2020-12-08
- Inventor: Jordi Mola
- Applicant: Microsoft Technology Licensing, LLC
- Applicant Address: US WA Redmond
- Assignee: MICROSOFT TECHNOLOGY LICENSING, LLC
- Current Assignee: MICROSOFT TECHNOLOGY LICENSING, LLC
- Current Assignee Address: US WA Redmond
- Agency: Workman Nydegger
- Main IPC: G06F11/00
- IPC: G06F11/00 ; G06F12/0815 ; G06F11/36

Abstract:
The disclosure relates to embodiments, implemented at least partially in microcode, that use cache misses to trigger logging to a processor trace. One embodiment relies on tracking bits in a processor cache. During a transition from a non-logged context to a logged context, this embodiment invalidates or evicts cache lines whose tracking bits are not set. When logging, this first embodiment logs during cache misses, and sets tracking bits for logged cache lines. Another embodiment relies on way-locking. This second embodiment assigns first ways to a logged entity and second ways to a non-logged entity. The second embodiment ensures the logged entity cannot read cache lines from the second logging ways by flushing the second way during transitions from non-logging to logging, ensures the logged entity cannot read non-logged cache lines from the first ways, and logs based on cache misses into the first ways while executing a logged context.
Public/Granted literature
- US20200142769A1 LEVERAGING EXISTING LOGIC PATHS DURING BIT-ACCURATE PROCESSOR TRACING Public/Granted day:2020-05-07
Information query