IP Library Granted Patent US 8,762,960
Granted Patent B2
US 8,762,960 · App. 13/391,744 · Granted Jun 24, 2014

Software probe minimization

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 8,762,960
App. No.
13/391,744
Granted
Jun 24, 2014
Kind
B2
Abstract

A method of developing a tracing solution for the execution of blocks of computer code. The method comprises representing each block of code of an initial tracing solution as a vertex on an initial tracing solution graph. The vertices on the initial tracing solution graph constitute an initial set of vertices. The method further comprises checking whether there are any redundant vertices in the initial set of vertices. Redundant vertices are vertices not needed for a tracing solution. If there are any redundant vertices in the initial set of vertices, one or more of the redundant vertices is eliminated from the initial set of vertices, thereby deriving a reduced set of vertices.

Claims (112)

1. A method of developing a tracing solution for the execution of blocks of computer code, comprising:

(i) representing each block of code of an initial tracing solution as a vertex on an initial tracing solution graph, the vertices on the initial tracing solution graph constituting an initial set of vertices;

(ii) checking whether there are any redundant vertices in the initial set of vertices, comprising:

for each vertex of the initial tracing solution graph:

identifying all immediately preceding vertices in the initial tracing solution graph, an immediately preceding vertex being one that lies at the tail of an edge connected to the vertex;

identifying all immediately succeeding vertices in the initial tracing solution graph, an immediately succeeding vertex being one that lies at the head of an edge connected to the vertex; and

classifying the vertex as redundant if there is no edge that directly links an immediately preceding vertex to an immediately succeeding vertex;

(iii) if there are any redundant vertices in the initial set of vertices of the initial tracing solution graph, reducing the initial tracing solution graph by eliminating at least one of the redundant vertices from the initial set of vertices of the initial tracing solution graph, thereby deriving a reduced set of vertices.

2. A method in accordance with claim 1 , further comprising:

if there are redundant vertices in the initial set of vertices, selecting the reduced set of vertices as a tracing solution; or

if there are no redundant vertices in the initial set of vertices, selecting the initial set of vertices as a tracing solution.

3. A method in accordance with claim 1 , further comprising, if there is a reduced set of vertices:

(iv) constructing a reduced tracing solution graph, the tracing solution graph comprising only:

a) vertices that are part of the reduced set; and

b) edges representing paths between the vertices in the reduced set;

(v) checking whether there are any redundant vertices in the reduced set, by checking for any redundant vertices on the reduced tracing solution graph;

(vi) if there are any redundant vertices in the reduced set, then eliminating one redundant vertex;

(vii) repeating:

a) constructing a reduced tracing solution graph;

b) checking whether there are any redundant vertices; and

c) eliminating one redundant vertex;

until there are no further redundant vertices, thereby deriving a locally minimal reduced set of vertices.

4. A method in accordance with claim 3 , further comprising:

selecting the locally minimal reduced set of vertices as a tracing solution.

5. A method in accordance with claim 2 , further comprising:

instrumenting each block corresponding to a vertex of the tracing solution with a probe; and

associating a token with each probe, in order to provide tracing information and/or code coverage information.

6. A method in accordance with claim 3 further comprising:

developing a profiling solution from the tracing solution by:

assigning a counter to each vertex of an initial profiling solution; and

assigning probes only to vertices included in either the reduced set of vertices or the locally minimal reduced set of vertices; and

for each counter assigned to a vertex that does not have a probe, arranging for the counter to be incremented by a probe that is assigned to another vertex.

7. A method in accordance with claim 3 further comprising:

developing a code coverage solution from the tracing solution by:

assigning a token to each vertex of the initial set of vertices of the initial tracing solution graph; and

assigning probes only to vertices included in either of the reduced set of vertices or the locally minimal reduced set of vertices;

for each token assigned to a vertex that does not have a probe, arranging for the token to be marked by a probe that is assigned to another vertex.

8. A method of monitoring the operation of blocks of code, comprising:

instrumenting the blocks of code of the computer program that correspond to vertices in a tracing solution with probes derived by

(i) representing each block of code of an initial tracing solution as a vertex on an initial tracing solution graph, the vertices on the initial tracing solution graph constituting an initial set of vertices;

(ii) checking whether there are any redundant vertices in the initial set of vertices, comprising:

for each vertex of the initial tracing solution graph:

identifying all immediately preceding vertices in the initial tracing solution graph, an immediately preceding vertex being one that lies at the tail of an edge connected to the vertex;

identifying all immediately succeeding vertices in the initial tracing solution graph, an immediately succeeding vertex being one that lies at the head of an edge connected to the vertex; and

classifying the vertex as redundant if there is no edge that directly links an immediately preceding vertex to an immediately succeeding vertex;

(iii) if there are any redundant vertices in the initial set of vertices of the initial tracing solution graph, reducing the initial tracing solution graph by eliminating at least one of the redundant vertices from the initial set of vertices of the initial tracing solution graph, thereby deriving a reduced set of vertices;

(iv) if there are redundant vertices in the initial set of vertices, selecting the reduced set of vertices as a tracing solution;

(v) if there are no redundant vertices in the initial set of vertices, selecting the initial set of vertices as a tracing solution; and

recording data provided by the probes.

9. A system for monitoring the operation of blocks of code on an integrated circuit, comprising:

a program comprising blocks of code for running on the integrated circuit, a sub-set of the blocks being instrumented with probes configured to:

(i) represent each block of code of an initial tracing solution as a vertex on an initial tracing solution graph, the vertices on the initial tracing solution graph constituting an initial set of vertices;

(ii) check whether there are any redundant vertices in the initial set of vertices, comprising:

for each vertex of the initial tracing solution graph:

identifying all immediately preceding vertices in the initial tracing solution graph, an immediately preceding vertex being one that lies at the tail of an edge connected to the vertex;

identifying all immediately succeeding vertices in the initial tracing solution graph, an immediately succeeding vertex being one that lies at the head of an edge connected to the vertex; and

classifying the vertex as redundant if there is no edge that directly links an immediately preceding vertex to an immediately succeeding vertex;

(iii) if there are any redundant vertices in the initial set of vertices of the initial tracing solution graph, reduce the initial tracing solution graph by eliminating at least one of the redundant vertices from the initial set of vertices of the initial tracing solution graph, thereby deriving a reduced set of vertices;

(iv) if there are any redundant vertices in the initial set of vertices, select the reduced set of vertices as a tracing solution;

(v) if there are no redundant vertices in the initial set of vertices, select the initial set of vertices as a tracing solution; and

a personal computer or other data recording system linked to the program, for receiving data provided by the probes.

10. A system in accordance with claim 9 , further comprising:

if there are redundant vertices in the initial set of vertices, selecting the reduced set of vertices as a tracing solution; or

if there are no redundant vertices in the initial set of vertices, selecting the initial set of vertices as a tracing solution.

11. A system in accordance with claim 9 , further comprising, if there is a reduced set of vertices:

(iv) constructing a reduced tracing solution graph, the tracing solution graph comprising only:

a) vertices that are part of the reduced set; and

b) edges representing paths between the vertices in the reduced set;

(v) checking whether there are any redundant vertices in the reduced set, by checking for any redundant vertices in the reduced set, then eliminating one redundant vertex;

(vii) repeating:

a) constructing a reduced tracing solution graph;

b) checking whether there are any redundant vertices; and

c) eliminating one redundant vertex;

until there are no further redundant vertices, thereby deriving a locally minimal reduced set of vertices.

12. A system in accordance with claim 11 , further comprising:

selecting the locally minimal reduced set of vertices as a tracing solution.

13. A system in accordance with claim 11 , the program further configured to:

instrument each block corresponding to a vertex of the tracing solution with a probe; and

associate a token with each probe, in order to provide tracing information and/or code coverage information.

14. A system in accordance with claim 11 , further comprising:

developing a profiling solution from the tracing solution by:

assigning a counter to each vertex of an initial profiling solution; and

assigning probes only to vertices included in either the reduced set of vertices or the locally minimal reduced set of vertices;

for each counter assigned to a vertex that does not have a probe, arranging for the counter to be incremented by a probe that is assigned to another vertex.

15. A system in accordance with claim 9 , further comprising:

assigning a token to each vertex of the initial set of vertices of the initial tracing solution graph; and

assigning probes only to vertices included in either the reduced set of vertices or the locally minimal reduced set of vertices;

for each token assigned to a vertex that does not have a probe, arranging for the token to be marked by a probe that is assigned to another vertex.

16. A method in accordance with claim 8 , further comprising:

if there are redundant vertices in the initial set of vertices, selecting the reduced set of vertices as a tracing solution; or

if there are no redundant vertices in the initial set of vertices, selecting the initial set of vertices as a tracing solution.

17. A method in accordance with claim 8 , further comprising, if there is a reduced set of vertices:

(iv) constructing a reduced tracing solution graph, the tracing solution graph comprising only:

a) vertices that are part of the reduced set; and

b) edges representing paths between the vertices in the reduced set;

(v) checking whether there are any redundant vertices in the reduced set, by checking for any redundant vertices on the reduced tracing solution graph;

(vi) if there are any redundant vertices in the reduced set, then eliminating one redundant vertex;

(vii) repeating:

a) constructing a reduced tracing solution graph;

b) checking whether there are any redundant vertices; and

c) eliminating one redundant vertex;

until there are no further redundant vertices, thereby deriving a locally minimal reduced set of vertices.

18. A method in accordance with claim 17 , further comprising:

selecting the locally minimal reduced set of vertices as a tracing solution.

19. A method in accordance with claim 17 , further comprising:

instrumenting each block corresponding to a vertex of the tracing solution with a probe; and

associating a token with each probe, in order to provide tracing information and/or code coverage information.

20. A method in accordance with claim 17 further comprising:

developing a profiling solution from the tracing solution by:

assigning a counter to each vertex of an initial profiling solution; and

assigning probes only to vertices included in either the reduced set of vertices or the locally minimal reduced set of vertices; and

for each counter assigned to a vertex that does not have a probe, arranging for the counter to be incremented by a probe that is assigned to another vertex.

Assignments (30)
CORRECTIVE ASSIGNMENT TO CORRECT THE REMOVE APPLICATION 11759915 AND REPLACE IT WITH APPLICATION 11759935 PREVIOUSLY RECORDED ON REEL 040925 FRAME 0001. ASSIGNOR(S) HEREBY CONFIRMS THE RELEASE OF SECURITY INTEREST. Recorded Feb 17, 2020
From: MORGAN STANLEY SENIOR FUNDING, INC.
To: NXP, B.V. F/K/A FREESCALE SEMICONDUCTOR, INC.
Reel/Frame 052917/0001 →
CORRECTIVE ASSIGNMENT TO CORRECT THE REMOVE APPLICATION 11759915 AND REPLACE IT WITH APPLICATION 11759935 PREVIOUSLY RECORDED ON REEL 040928 FRAME 0001. ASSIGNOR(S) HEREBY CONFIRMS THE RELEASE OF SECURITY INTEREST. Recorded Jan 17, 2020
From: MORGAN STANLEY SENIOR FUNDING, INC.
To: NXP B.V.
Reel/Frame 052915/0001 →
CORRECTIVE ASSIGNMENT TO CORRECT THE REMOVE APPLICATION 11759915 AND REPLACE IT WITH APPLICATION 11759935 PREVIOUSLY RECORDED ON REEL 037486 FRAME 0517. ASSIGNOR(S) HEREBY CONFIRMS THE ASSIGNMENT AND ASSUMPTION OF SECURITY INTEREST IN PATENTS. Recorded Dec 10, 2019
From: CITIBANK, N.A.
To: MORGAN STANLEY SENIOR FUNDING, INC.
Reel/Frame 053547/0421 →
CORRECTIVE ASSIGNMENT TO CORRECT THE REMOVE APPLICATION 12298143 PREVIOUSLY RECORDED ON REEL 042762 FRAME 0145. ASSIGNOR(S) HEREBY CONFIRMS THE SECURITY AGREEMENT SUPPLEMENT. Recorded Oct 22, 2019
From: NXP B.V.
To: MORGAN STANLEY SENIOR FUNDING, INC.
Reel/Frame 051145/0184 →
CORRECTIVE ASSIGNMENT TO CORRECT THE REMOVE APPLICATION 12298143 PREVIOUSLY RECORDED ON REEL 038017 FRAME 0058. ASSIGNOR(S) HEREBY CONFIRMS THE SECURITY AGREEMENT SUPPLEMENT. Recorded Oct 22, 2019
From: NXP B.V.
To: MORGAN STANLEY SENIOR FUNDING, INC.
Reel/Frame 051030/0001 →
CORRECTIVE ASSIGNMENT TO CORRECT THE REMOVE APPLICATION 12298143 PREVIOUSLY RECORDED ON REEL 042985 FRAME 0001. ASSIGNOR(S) HEREBY CONFIRMS THE SECURITY AGREEMENT SUPPLEMENT. Recorded Oct 22, 2019
From: NXP B.V.
To: MORGAN STANLEY SENIOR FUNDING, INC.
Reel/Frame 051029/0001 →
CORRECTIVE ASSIGNMENT TO CORRECT THE REMOVE APPLICATION 12298143 PREVIOUSLY RECORDED ON REEL 039361 FRAME 0212. ASSIGNOR(S) HEREBY CONFIRMS THE SECURITY AGREEMENT SUPPLEMENT. Recorded Oct 22, 2019
From: NXP B.V.
To: MORGAN STANLEY SENIOR FUNDING, INC.
Reel/Frame 051029/0387 →
RELEASE OF SECURITY INTEREST Recorded Sep 10, 2019
From: MORGAN STANLEY SENIOR FUNDING, INC.
To: NXP B.V.
Reel/Frame 050745/0001 →
RELEASE OF SECURITY INTEREST Recorded Sep 10, 2019
From: MORGAN STANLEY SENIOR FUNDING, INC.
To: NXP B.V.
Reel/Frame 050744/0097 →
CORRECTIVE ASSIGNMENT TO CORRECT THE TO CORRECT THE APPLICATION NO. FROM 13,883,290 TO 13,833,290 PREVIOUSLY RECORDED ON REEL 041703 FRAME 0536. ASSIGNOR(S) HEREBY CONFIRMS THE THE ASSIGNMENT AND ASSUMPTION OF SECURITY INTEREST IN PATENTS.. Recorded Feb 20, 2019
From: MORGAN STANLEY SENIOR FUNDING, INC.
To: SHENZHEN XINGUODU TECHNOLOGY CO., LTD.
Reel/Frame 048734/0001 →
CORRECTIVE ASSIGNMENT TO CORRECT THE REMOVE APPLICATION 12681366 PREVIOUSLY RECORDED ON REEL 038017 FRAME 0058. ASSIGNOR(S) HEREBY CONFIRMS THE SECURITY AGREEMENT SUPPLEMENT. Recorded May 9, 2017
From: NXP B.V.
To: MORGAN STANLEY SENIOR FUNDING, INC.
Reel/Frame 042985/0001 →
CORRECTIVE ASSIGNMENT TO CORRECT THE REMOVE APPLICATION 12681366 PREVIOUSLY RECORDED ON REEL 039361 FRAME 0212. ASSIGNOR(S) HEREBY CONFIRMS THE SECURITY AGREEMENT SUPPLEMENT. Recorded May 9, 2017
From: NXP B.V.
To: MORGAN STANLEY SENIOR FUNDING, INC.
Reel/Frame 042762/0145 →
CORRECTIVE ASSIGNMENT TO CORRECT THE REMOVE PATENTS 8108266 AND 8062324 AND REPLACE THEM WITH 6108266 AND 8060324 PREVIOUSLY RECORDED ON REEL 037518 FRAME 0292. ASSIGNOR(S) HEREBY CONFIRMS THE ASSIGNMENT AND ASSUMPTION OF SECURITY INTEREST IN PATENTS. Recorded Feb 1, 2017
From: CITIBANK, N.A.
To: MORGAN STANLEY SENIOR FUNDING, INC.
Reel/Frame 041703/0536 →
MERGER Recorded Jan 3, 2017
From: FREESCALE SEMICONDUCTOR, INC.
To: NXP USA, INC.
Reel/Frame 041144/0363 →
RELEASE OF SECURITY INTEREST Recorded Nov 7, 2016
From: MORGAN STANLEY SENIOR FUNDING, INC.
To: NXP B.V.
Reel/Frame 040928/0001 →
RELEASE OF SECURITY INTEREST Recorded Sep 21, 2016
From: MORGAN STANLEY SENIOR FUNDING, INC.
To: NXP, B.V., F/K/A FREESCALE SEMICONDUCTOR, INC.
Reel/Frame 040925/0001 →
CORRECTIVE ASSIGNMENT TO CORRECT THE REMOVE APPLICATION 12092129 PREVIOUSLY RECORDED ON REEL 038017 FRAME 0058. ASSIGNOR(S) HEREBY CONFIRMS THE SECURITY AGREEMENT SUPPLEMENT. Recorded Jul 14, 2016
From: NXP B.V.
To: MORGAN STANLEY SENIOR FUNDING, INC.
Reel/Frame 039361/0212 →
SUPPLEMENT TO THE SECURITY AGREEMENT Recorded Jun 16, 2016
From: FREESCALE SEMICONDUCTOR, INC.
To: MORGAN STANLEY SENIOR FUNDING, INC.
Reel/Frame 039138/0001 →
SECURITY AGREEMENT SUPPLEMENT Recorded Mar 7, 2016
From: NXP B.V.
To: MORGAN STANLEY SENIOR FUNDING, INC.
Reel/Frame 038017/0058 →
ASSIGNMENT AND ASSUMPTION OF SECURITY INTEREST IN PATENTS Recorded Jan 13, 2016
From: CITIBANK, N.A.
To: MORGAN STANLEY SENIOR FUNDING, INC.
Reel/Frame 037518/0292 →
ASSIGNMENT AND ASSUMPTION OF SECURITY INTEREST IN PATENTS Recorded Jan 12, 2016
From: CITIBANK, N.A.
To: MORGAN STANLEY SENIOR FUNDING, INC.
Reel/Frame 037486/0517 →
PATENT RELEASE Recorded Dec 21, 2015
From: CITIBANK, N.A., AS COLLATERAL AGENT
To: FREESCALE SEMICONDUCTOR, INC.
Reel/Frame 037357/0476 →
PATENT RELEASE Recorded Dec 21, 2015
From: CITIBANK, N.A., AS COLLATERAL AGENT
To: FREESCALE SEMICONDUCTOR, INC.
Reel/Frame 037357/0455 →
PATENT RELEASE Recorded Dec 21, 2015
From: CITIBANK, N.A., AS COLLATERAL AGENT
To: FREESCALE SEMICONDUCTOR, INC.
Reel/Frame 037357/0521 →
SECURITY AGREEMENT Recorded Nov 6, 2013
From: FREESCALE SEMICONDUCTOR, INC.
To: CITIBANK, N.A., AS NOTES COLLATERAL AGENT
Reel/Frame 031591/0266 →
SECURITY AGREEMENT Recorded Jun 18, 2013
From: FREESCALE SEMICONDUCTOR, INC.
To: CITIBANK, N.A., AS NOTES COLLATERAL AGENT
Reel/Frame 030633/0424 →
SUPPLEMENT TO IP SECURITY AGREEMENT Recorded Apr 20, 2013
From: FREESCALE SEMICONDUCTOR, INC.
To: CITIBANK, N.A., AS COLLATERAL AGENT
Reel/Frame 030256/0670 →
SUPPLEMENT TO IP SECURITY AGREEMENT Recorded Apr 20, 2013
From: FREESCALE SEMICONDUCTOR, INC.
To: CITIBANK, N.A., AS NOTES COLLATERAL AGENT
Reel/Frame 030256/0655 →
SUPPLEMENT TO IP SECURITY AGREEMENT Recorded Apr 20, 2013
From: FREESCALE SEMICONDUCTOR, INC.
To: CITIBANK, N.A., AS NOTES COLLATERAL AGENT
Reel/Frame 030256/0582 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Feb 22, 2012
From: BACA, DAVID
To: FREESCALE SEMICONDUCTOR INC
Reel/Frame 027744/0009 →