Method and system for instruction tracing with enhanced interrupt avoidance
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)
- 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.
- 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 ↗
Cited By — Indexed Forward Citations (15 of 17 total)
References Cited — Backward Prior Art (24)
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.