-
公开(公告)号:US12182003B1
公开(公告)日:2024-12-31
申请号:US17647539
申请日:2022-01-10
Applicant: Apple Inc.
Inventor: Jaidev P. Patwardhan , Matthias Knoth , Shekhar S. Srikantaiah , Prakhar Malhotra , Matthew C. Widmann , Dmitriy B. Solomonov , Constantin Pistol
Abstract: An apparatus includes a processor circuit that includes a memory circuit, one or more processor cores, and a debug circuit. The debug circuit may be configured, in response to activation of a trace mode to record information indicative of instructions executing on the one or more processor cores, to write a trace data stream to the memory circuit that includes trace data collected on the instructions executing on the one or more processor cores. In response to a particular instruction within one of the processor cores specifying a write of a data value to an architecturally visible trace register, the debug circuit may be further configured to output the data value to the trace data stream as part of executing the particular instruction.