Minimizing bandwith to compress output stream in instruction tracing systems

US9753832B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-9753832-B2
Application numberUS-201313930501-A
CountryUS
Kind codeB2
Filing dateJun 28, 2013
Priority dateJun 28, 2013
Publication dateSep 5, 2017
Grant dateSep 5, 2017

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

In accordance with embodiments disclosed herein, there is provided systems and methods for minimizing bandwidth to compress an output stream of an instruction tracing system. For example, the method may include identifying a current instruction in a trace of the IT module as a conditional branch (CB) instruction. The method includes executing one of generating a CB packet including a byte pattern with an indication of outcome of the CB instruction, or adding an indication of the outcome of the CB instruction to the byte pattern of an existing CB packet. The method includes generating a packet when a subsequent instruction in the trace is not the CB instruction. The packet is different from the CB packet. The method also includes adding the packet into a deferred queue when the packet is deferrable. The method further includes outputting the CB packet followed by the deferred packet into a packet log.

First claim

Opening claim text (preview).

What is claimed is: 1. A processing device comprising: an instruction tracing (IT) module to: identify a current instruction in a trace of the IT module as a conditional branch (CB) instruction; execute one of generate a first CB packet comprising a byte pattern with an indication of outcome of the CB instruction, or add an indication of the outcome of the CB instruction to the byte pattern of an existing CB packet; generate an IT packet in response to determining that a subsequent instruction in the trace after the current instruction is not the CB instruction, wherein the IT packet is different from the first CB packet or the existing CB packet; add the IT packet into a deferred queue in response to determining that the packet is deferrable, wherein the deferred queue comprises a deferred packet; output the first CB packet or the existing CB packet followed by the deferred packet, followed by the IT packet into a packet log in response to determining that the IT packet is not deferrable, wherein determining that the IT packet is not deferrable is based on at least one of a first or a second condition is met, wherein the first condition comprises a total number of bits in the byte pattern of the first CB packet or the existing CB packet reach a first threshold, wherein the second condition comprises a total number of packets in the deferred queue reach a second threshold. 2. The processing device of claim 1 wherein the IT packet is an indirect branch (IB) packet, wherein the IB packet provides a target location for transfer of execution associated with the instruction in the trace. 3. The processing device of claim 2 wherein the IT module to determine that the IB packet is not deferrable in response to determining that the instruction comprises an uncompressible return instruction. 4. The processing device of claim 1 wherein the IT packet is an event packet that provides an updated status of the processing device. 5. The processing device of claim 1 wherein the IT module to continue to add subsequent packets into the deferred queue in response to determining that the subsequent packets are deferrable. 6. The processing device of claim 5 wherein the deferred packets are outputted in the output log as a first in first out (FIFO) queue. 7. A system comprising: a memory; and a processing device communicably coupled to the memory, wherein the processing device comprising: a scheduler and execution unit; and a retirement unit communicably coupled to the scheduler and execution unit, the retirement unit comprising an instruction tracing (IT) module to: identify a current instruction in a trace of the IT module as a conditional branch (CB) instruction; execute one of generate a first CB packet comprising a byte pattern with an indication of outcome of the CB instruction, or add an indication of the outcome of the CB instruction to the byte pattern of an existing CB packet; generate an IT packet in response to determining that a subsequent instruction in the trace after the current instruction is not the CB instruction, wherein the IT packet is different from the first CB packet or the existing CB packet; add the IT packet into a deferred queue in response to determining that the packet is deferrable, wherein the deferred queue comprises a deferred packet; output the first CB packet or the existing CB packet followed by the deferred packet, followed by the IT packet into a packet log in response to determining that the IT packet is not deferrable, wherein determining that the IT packet is not deferrable is based on at least one of a first or a second condition is met, wherein the first condition comprises a total number of bits in the byte pattern of the first CB packet or the existing CB packet reach a first threshold, wherein the second condition comprises a total number of packets in the deferred queue reach a second threshold. 8. The system of claim 7 wherein the IT packet is an indirect branch (IB) packet, wherein the IB packet provides a target location for transfer of execution associated with the instruction in the trace. 9. The system of claim 8 wherein the IT module to determine that the IB packet is not deferrable in response to determining that the instruction comprises an uncompressible return instruction. 10. The system of claim 7 wherein the IT packet is an event packet that provides an updated status of the processing device. 11. The system of claim 7 wherein the IT module to continue to add subsequent packets into the deferred queue in response to determining that the subsequent packets are deferrable. 12. The system of claim 11 wherein the deferred packets are outputted in the output log as a first in first out (FIFO) queue. 13. A method of a processing device comprising: identifying a current instruction in a trace of the IT module as a conditional branch (CB) instruction; executing one of generate a first CB packet comprising a byte pattern with an indication of outcome of the CB instruction, or add an indication of the outcome of the CB instruction to the byte pattern of an existing CB packet; generating a an IT packet in response to determining that a subsequent instruction in the trace after the current instruction is not the CB instruction, wherein the IT packet is different from the first CB packet or the existing CB packet; adding the IT packet into a deferred queue in response to determining that the packet is deferrable, wherein the deferred queue comprises a deferred packet; outputting the first CB packet or the existing CB packet followed by the deferred packet, followed by the IT packet into a packet log in response to determining that the IT packet is not deferrable, wherein determining that the IT packet is not deferrable is based on at least one of a first or a second condition is met, wherein the first condition comprises a total number of bits in the byte pattern of the first CB packet or the existing CB packet reach a first threshold, wherein the second condition comprises a total number of packets in the deferred queue reach a second threshold. 14. The method of claim 13 , wherein the IT packet is an indirect branch (TB) packet, wherein the IB packet provides a target location for transfer of execution associated with the instruction in the trace. 15. The method of claim 14 further comprising determining that the IB packet is not deferrable in response to determining that the instruction comprises an uncompressible return instruction. 16. The method of claim 13 wherein the IT packet is an event packet that provides an updated status of the processing device. 17. The method of claim 13 further comprising continuously adding subsequent packets into the deferred queue in response to determining that the subsequent packets are deferrable. 18. The method of claim 17 wherein the deferred packets are outputted in the output log as a first in first out (FIFO) queue. 19. A non-transitory machine-readable storage medium including data that, when accessed by a processing device, cause the processing device to perform operations comprising: identifying a current instruction in a trace of the IT module as a conditional branch (CB) instruction; executing one of generate a first CB packet comprising a byte pattern with an indication of outcome of the CB instruction, or add an indication of the outcome of the CB instruction to the byte pattern of an existing CB packet; generating an IT packet in response to determining that a subsequent instruction in the trace after the current instruction

Assignees

Inventors

Classifications

  • Threshold · CPC title

  • Performance evaluation by tracing or monitoring · CPC title

  • Circuit details, i.e. tracer hardware · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US9753832B2 cover?
In accordance with embodiments disclosed herein, there is provided systems and methods for minimizing bandwidth to compress an output stream of an instruction tracing system. For example, the method may include identifying a current instruction in a trace of the IT module as a conditional branch (CB) instruction. The method includes executing one of generating a CB packet including a byte patte…
Who is the assignee on this patent?
Intel Corp
What technology area does this patent fall under?
Primary CPC classification G06F11/3466. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Sep 05 2017 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 8 related publications on this page (citations in our corpus or others sharing the same primary CPC).