A computing device, comprising: a plurality of processing units; and a cache memory comprising a plurality of cache lines that are used to cache data from one or more backing stores and that are shared by the plurality of processing units, wherein consistency between data in the plurality of cache lines and the one or more backing stores is managed according to a cache coherence protocol; characterized by: stored control logic that configures the computing device to perform at least the following: determine that at least the following conditions have been met: (i) an operation has caused an interaction between a particular cache line of the plurality of cache lines and the one or more backing stores; (ii) logging is enabled for a particular processing unit of the plurality of processing units that caused the operation; (iii) the particular cache line is a participant in logging; and (iv) the CCP indicates that there is data to be logged to a trace based on the operation; and based at least on determining that the conditions having been met, cause the data to be logged to the trace, the data usable to replay the operation. a plurality of processing units; and a cache memory comprising a plurality of cache lines that are used to cache data from one or more backing stores and that are shared by the plurality of processing units, wherein consistency between data in the plurality of cache lines and the one or more backing stores is managed according to a cache coherence protocol; characterized by: stored control logic that configures the computing device to perform at least the following: determine that at least the following conditions have been met: (i) an operation has caused an interaction between a particular cache line of the plurality of cache lines and the one or more backing stores; (ii) logging is enabled for a particular processing unit of the plurality of processing units that caused the operation; (iii) the particular cache line is a participant in logging; and (iv) the CCP indicates that there is data to be logged to a trace based on the operation; and based at least on determining that the conditions having been met, cause the data to be logged to the trace, the data usable to replay the operation. determine that at least the following conditions have been met: (i) an operation has caused an interaction between a particular cache line of the plurality of cache lines and the one or more backing stores; (ii) logging is enabled for a particular processing unit of the plurality of processing units that caused the operation; (iii) the particular cache line is a participant in logging; and (iv) the CCP indicates that there is data to be logged to a trace based on the operation; and (i) an operation has caused an interaction between a particular cache line of the plurality of cache lines and the one or more backing stores; (ii) logging is enabled for a particular processing unit of the plurality of processing units that caused the operation; (iii) the particular cache line is a participant in logging; and (iv) the CCP indicates that there is data to be logged to a trace based on the operation; and based at least on determining that the conditions having been met, cause the data to be logged to the trace, the data usable to replay the operation.