×

Facilitating recording a trace file of code execution using way-locking in a set-associative processor cache

  • US 10,324,851 B2
  • Filed: 02/15/2017
  • Issued: 06/18/2019
  • Est. Priority Date: 10/20/2016
  • Status: Active Grant
First Claim
Patent Images

1. A computing device for facilitating recording a trace of code execution using a set-associative processor cache, the computing device comprising:

  • one or more processing units associated with at least one set-associative processor cache that includes a plurality of sets of cache lines, each set comprising two or more different cache lines;

    system memory; and

    one or more computer-readable media having stored thereon computer-executable instructions that are executable by the one or more processing units to cause the computing device to perform at least the following;

    reserve one or more cache lines in one or more of the plurality of sets of cache lines for caching only locations in the system memory that are allocated to a particular executable entity;

    during a traced execution of the particular executable entity, detect that a cache miss has occurred on a location in the system memory that is allocated to a particular executable entity, and that a value at the location of system memory has been, or is to be, cached into one of the reserved cache lines; and

    based at least on the value at the location of system memory being cached into one of the reserved cache lines, log into a trace data stream at least a portion of the value at the location of system memory being cached into the one of the reserved cache lines.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×