Patents
US 8,037,459 B2#7849201 Most CitedActiveUnited States (USPTO)Utility

Recovery from nested exceptions in an instrumentation routine

13Forward Citations (#7849201 Global)
0.9/yrCitation Velocity (#8346816 Global)
1.70Citation PageRank (#18889899 Global)
19Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

Abstract

A system and method for instrumentation of software, the software comprising a set of instructions (program or code) which are executable on a processor of a system, for example a computer system. A location in the instruction to insert a probe is first identified. The instruction is replaced with the probe by copying the instruction to a predefined location. The instruction is executed in the kernel space. A first exception is generated upon encountering the probe and calling a first exception handler, and the first exception handler is configured to call an instrumentation routine. A second exception is generated when the instrumentation routine encounters an error and calling a second exception handler, recovering from the exceptions and returning to a sane state to continue normal execution of the instruction.

Interactive Citation Constellation Global Citation Ranking

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

Claims (1 — 1 Independent, 0 Dependent)

  1. Claim 1Independent Claim

    A method of instrumentation for a software instruction, the method comprising: identifying a location in the instruction to insert a probe, wherein the probe is a breakpoint; replacing the instruction with the probe by copying the instruction to a predefined location; executing, by a processor, the instruction in a kernel space; generating a first exception upon encountering the probe and calling a first exception handler, wherein the first exception handler is configured to call an instrumentation routine; saving a system register state as part of the first exception; executing the first exce

Technical Overview & Description

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

References Cited — Backward Prior Art (19)

PatentTitleYearCitations
US 5,628,016 ASystems and methods and implementing exception handling using exception registration records stored in stack memory1997260
US 6,708,326 B1Method, system and program product comprising breakpoint handling mechanism for debugging and/or monitoring a computer instruction sequence200493
US 6,826,746 B2Debugger probe for object oriented programming200453
US 6,941,545 B1Profiling of computer programs executing in virtual memory systems2005146
US 7,000,225 B2Method for inserting global breakpoints200633
US 7,013,456 B1Profiling execution of computer programs2006138
US 7,058,928 B2System and method for conditional tracing of computer programs2006184
US 7,069,544 B1Dynamic selection of a compression algorithm for trace data200638
US 7,134,116 B1External trace synchronization via periodic sampling200644
US 7,293,259 B1Dynamically configuring selected methods for instrument-based profiling at application run-time200782
US 7,293,260 B1Configuring methods that are likely to be executed for instrument-based profiling at application run-time2007133
US 7,386,839 B1System and method for troubleshooting software configuration problems using application tracing2008150
US 7,389,494 B1Mechanism for statically defined trace points with minimal disabled probe effect200834
US 7,496,903 B2Synthesizing application response measurement (ARM) instrumentation200958
US 7,519,960 B2Method and system for debugging business process flow200926
US 7,523,446 B2User-space return probes200911
US 7,568,186 B2Employing a mirror probe handler for seamless access to arguments of a probed function200914

Non-Patent Literature (5)

  • Brenda M. Ozaki, Eduardo B. Fernandez, Ehud Gudes, "Software Fault Tolerance in Architectures with Hierarchical Protection Levels" Jul./Aug. 1988 (vol. 8, No. 4) pp. 30-43.
  • Donnamaie E. White "Bit-Slice Design: Controllers and ALUs" http://www10.dacafe.com/book/parse-book.php?article=BITSLICE/BIT-CHAP-4/bitCh4C.html.
  • Govindarajan, "Exception handlers in funcational programming languages", IEEE, pp. 826-834, 1993.
  • Kumar et al, "Tdb: A source level debugger for dynamiclaly translated programs", ACM AADEBUG, pp. 123-132, 2005.
  • Tikir et al, "Effiient instrumentation for code coverage testing", ACM, pp. 86-96, 2002.