Patents
US 7,313,734 B2#5197046 Most CitedExpiredUnited States (USPTO)Utility

Method and system for instruction tracing with enhanced interrupt avoidance

17Forward Citations (#5197046 Global)
0.9/yrCitation Velocity (#8017089 Global)
3.97Citation PageRank (#4827671 Global)
24Prior Art Cited
2Claims (1 Indep. · 1 Dep.)
0Drawings / Sheets

Abstract

A method, system, apparatus, and computer program product is presented for tracing operations. A set of related methodologies can be used within instruction tracing software, such as a tracing program, to reduce its tendency to generate interrupts that cause unwanted effects in the system that is being captured. A first methodology allows access to protected memory blocks so that instructions may be read from those memory blocks. A second methodology provides for the trace output buffer to be accessed using physical addressing. A third methodology traces only instruction addresses, which are resolved later during a post-processing phase of operation. A fourth methodology comprises multiple different methods for obtaining copies of instructions that have already executed rather than obtaining them before they are executed.

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 24 · Forward citations: 17.

Claims (2 — 1 Independent, 1 Dependent)

  1. Claim 1Independent Claim

    A method for reducing interrupts while tracing an application in a data processing system, the method comprising: receiving at a tracing function an indication that at least a portion of executable code from an application has been loaded into a memory block prior to execution of the portion of executable code; and altering by the tracing function at least one operating-system-defined memory access protection parameter to allow read access to the memory block, and wherein the receiving step and the altering step are performed for each memory fault for the application.

  2. Claim 2Depends on #1

    The method of claim 1 wherein a memory fault includes a page fault or a segment fault.

Technical Overview & Description

Full multi-page specification text is archived at the issuing office. Read complete official specification ↗

References Cited — Backward Prior Art (24)

PatentTitleYearCitations
US 3,707,725 AProgram execution tracing system improvements1972143
US 4,598,364 AEfficient trace method adaptable to multiprocessors1986134
US 5,359,608 AApparatus for activation and deactivation of instruction tracing through use of conditional trace field in branch instructions199460
US 5,446,876 AHardware mechanism for instruction/data address tracing199597
US 5,659,679 AMethod and apparatus for providing breakpoints on taken jumps and for providing software profiling in a computer system199796
US 5,740,413 AMethod and apparatus for providing address breakpoints, branch breakpoints, and single stepping1998115
US 5,790,846 AInterrupt vectoring for instruction address breakpoint facility in computer systems199818
US 5,870,582 AMethod and apparatus for completion of non-interruptible instructions before the instruction is dispatched199960
US 5,878,208 AMethod and system for instruction trace reconstruction utilizing limited output pins and bus monitoring199923
US 5,922,070 APipelined data processing including program counter recycling199929
US 5,938,778 ASystem and method for tracing instructions in an information handling system without changing the system source code1999113
US 5,970,246 AData processing system having a trace mechanism and method therefor199938
US 5,996,092 ASystem and method for tracing program execution within a processor before and after a triggering event1999101
US 6,026,503 ADevice and method for debugging systems controlled by microprocessors200041
US 6,055,630 ASystem and method for processing a plurality of branch instructions by a plurality of storage devices and pipeline units200069

Non-Patent Literature (5)

  • AIX Version 4.3 Kernel and Subsystems Technical Reference, vol. 1, "plnu Kernel Service", IBM Corp., 1997.
  • IBM Technical Disclosure Bulletin NN961231; Processor Single Step Trace Facility Enhancements; vol. 39; issue 12; pp. 31-32, published Dec. 1, 1996.
  • Itanium(TM) IA-64 Architecture Software Developer's Manual, vol. 1: IA-64 Application Architecture, Revision 1.1, Intel Corp., Jul. 2000, pp. 2-1 to 2-8, 3-1 to 3-20, 4-1 to 4-35, 9-1 t 9-16, 10-1 to 10-16.
  • Itanium(TM) IA-64 Architecture Software Developer's Manual, vol. 2: IA-64 System Architecture, Revision 1.1, Intel Corp., Jul. 2000, pp. 2-1 to 2-4, 3-1 to 3-22, 5-1 to 5-36, 7-1 to 7-14.
  • Itanium(TM) IA-64 Architecture Software Developer's Manual, vol. 4: Itanium(TM) Processor Programmer's Guide, Revision 1.1, Intel Corp., Jul. 2000, pp. 6-1 to 6-32.