Patents
US 9,575,864 B2#57636922 Most CitedActiveUnited States (USPTO)Utility

Function-level dynamic instrumentation

1Forward Citations (#57636922 Global)
0.1/yrCitation Velocity (#44702969 Global)
0.79Citation PageRank (#57636922 Global)
22Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

Abstract

Methods for dynamically instrumenting a program while the program is executing are described. In some embodiments, profiling hooks may be selectively inserted into and removed from a program while the program is running. The hooks may gather profiling information, such as the frequency and duration of function calls, for a selected set of functions. The hooks may be inserted into the program without requiring a special build or modifications to the binary by modifying machine-level instructions for the program stored in system memory. The ability to selectively insert instrumentation into the machine-level instructions stored in the system memory allows a set of functions to be selected during execution of the program and hooks for each function of the set of functions to be dynamically inserted or removed during execution of the program to precisely capture profiling information for the set of functions.

Interactive Citation Constellation Global Citation Ranking

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

Claims (1 — 1 Independent, 0 Dependent)

  1. Claim 1Independent Claim

    A method for inserting instrumentation into a program, comprising: identifying a first function associated with the program; determining a first memory address within a system memory corresponding with a first machine instruction to be executed for the first function; inserting an instrumentation hook into the system memory based on the first memory address, the inserting an instrumentation hook includes writing a new instruction different from the first machine instruction into the system memory starting at the first memory address; acquiring profiling information for the first function durin

Technical Overview & Description

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

Cited By — Indexed Forward Citations (1 of 1 total)

References Cited — Backward Prior Art (22)

PatentTitleYearCitations
US 6,189,141 B1Control path evaluating trace designator with dynamically adjustable thresholds for activation of tracing for high (hot) activity and low (cold) activity of flow control2001248
US 2002152455 A1Dynamic instrumentation of an executable program—49
US 2003041316 A1Dynamic CPU usage profiling and function call tracing—28
US 2004003375 A1Method and system for combining dynamic instrumentation and instruction pointer sampling—50
US 2004163077 A1Apparatus and method for dynamic instrumenting of code to minimize system perturbation—182
US 6,928,639 B2Time-interval based monitor function for dynamic insertion into and removal from a running application200532
US 2006236309 A1System and method to build a callgraph for functions with multiple entry points—23
US 2008052696 A1Maintainable Dynamic Instrumentation Technique For Changing Versions Of Software—31
US 2008209525 A1Applications and uses for system and method of controlling and monitoring computer program usage—16
US 7,805,717 B1Pre-computed dynamic instrumentation201026
US 2010318994 A1Load Balanced Profiling—15
US 2011138368 A1Verifying function performance based on predefined count ranges—35
US 2011218654 A1Method For Optimizing A Control Program For Actuators—7
US 2011283265 A1Failsafe mechanism for dynamic instrumentation of software using callbacks—23
US 2012089966 A1Two pass automated application instrumentation—23
US 8,176,480 B1Adaptive instrumentation through dynamic recompilation201257
US 2012173818 A1Detecting address conflicts in a cache memory system—8
US 8,639,982 B2Dynamic computer process probe20142
US 2014101672 A1Load Balanced Profiling—3
US 2014282416 A1Method and system of visually combining profiling data from instrumentation and sampling—24
US 2014310561 A1Dynamic function-level hardware performance profiling for application performance analysis—8
US 2015067661 A1Software code profiling—4