IP Library Granted Patent US 7,181,728
Granted Patent B1
US 7,181,728 · App. 09/844,271 · Granted Feb 20, 2007

User controlled trace records

View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 7,181,728
App. No.
09/844,271
Granted
Feb 20, 2007
Kind
B1
Abstract

A system and method for program counter and data tracing is disclosed. The tracing mechanism of the present invention enables increased visibility into the hardware and software state of the processor core.

Claims (25)

1. A tracing method, comprising:

executing a program that includes a plurality of instructions, said plurality of instructions including one or more user trace write commands, wherein a user trace write command instructs a processor to write user trace data to a user trace data register, each said user trace write command indicating a selection by a user of user-defined trace data to be written into said user trace data register, each said user trace write command being a standard write command without trace code information identifying the type of data to be traced;

detecting a write to at least part of said user trace data register; and

in response to said detected write, generating a trace record that includes at least part of the user trace data in said user trace data register;

wherein execution of said plurality of instructions results in tracing a subset of program execution attributes of interest to said user.

2. The method of claim 1 , further comprising outputting said trace record to a trace capture component.

3. The method of claim 2 , further comprising identifying said outputted trace record as containing user trace data.

4. The method of claim 1 , wherein said user trace data register includes a general processor register value.

5. The method of claim 1 , wherein said user trace data register includes a program variable value.

6. The method of claim 1 , wherein said user trace data register includes debug-related information that is observable during program execution.

7. The method of claim 1 , wherein said user trace write command is included in said program prior to execution.

8. A tracing system, comprising:

a user trace data register that stores user trace data upon execution of a user trace write command included among a plurality of instructions, said user trace write command indicating a selection by a user of user-defined trace data to be written into said user trace data register, said user trace write command being a standard write command without trace code information identifying the type of data to be traced; and

trace generation logic that detects a write to at least part of said user trace data register and generates a trace record that includes at least part of the user trace data in said user trace data register;

wherein execution of said plurality of instructions results in tracing a subset of program execution attributes of interest to said user.

9. The tracing system of claim 8 , wherein said trace generation logic outputs said trace record to a trace capture component.

10. The tracing system of claim 9 , wherein said trace generation logic further identifies said output trace record as containing user trace data.

11. The tracing system of claim 8 , wherein said user trace data register includes a general processor register value.

12. The tracing system of claim 8 , wherein said user trace data register includes a program variable value.

13. The tracing system of claim 8 , wherein said user trace data register includes debug-related information that is observable during program execution.

14. The tracing system of claim 8 , wherein said user trace write command is included in said program prior to execution.

15. A computer program product comprising:

computer-readable program code for causing a computer to describe a user trace data register that stores user trace data upon execution of a user trace write command included among a plurality of instructions, said user trace write command indicating a selection by a user of user-defined trace data to be written into said user trace data register, said user trace write command being a standard write command without trace code information identifying the type of data to be traced; and

computer-readable program code for causing a computer to describe a trace generation logic that detects a write to at least part of said user trace data register and generates a trace record that includes at least part of the user trace data in said user trace data register, wherein execution of said plurality of instructions results in tracing a subset of program execution attributes of interest to said user; and

a computer-usable medium configured to store the computer-readable program codes.

Assignments (2)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jun 2, 2014
From: BRIDGE CROSSING, LLC
To: ARM FINANCE OVERSEAS LIMITED
Reel/Frame 033074/0058 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Apr 12, 2013
From: MIPS TECHNOLOGIES, INC.
To: BRIDGE CROSSING, LLC
Reel/Frame 030202/0440 →