Dynamic per-method probing during runtime
Abstract
A system, method, and techniques for dynamically probing a method are provided. An example method includes identifying a target method to probe in an application. The method also includes modifying the target method to include a call to a helper method that passes a rulename to a native method in a shared object library. The native method includes a marker associated with a probe point inserted in the application at a location relative to the target method, and the rulename identifies the marker associated with the probe point. The method further includes during execution of the application on a computing device, detecting when the target method is invoked. The method also includes when the method is invoked, passing the rulename to the native method in the shared object library.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 18 · Forward citations: 2.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method of dynamically probing a method, the method comprising: identifying a target method to probe in an application, the application written in an object-oriented programming language that defines a class that includes the target method; modifying the target method to include a call to a helper method that passes a rulename to a native method in a foreign function interface, wherein the native method includes a marker associated with a probe point inserted in the application at a location relative to the target method, and the rulename identifies the marker associated with the probe point;
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (2 of 2 total)
References Cited — Backward Prior Art (18)
Non-Patent Literature (5)
- BTrace:Core: samples DTraceInline.java-Project Kenai, Source code file content, retrieved Nov. 13, 2013 from https://kenai.com/projects/btrace/sources/hg/content/samples/DTraceInline.java, pp. 1-2; Copyright 2008-2010 Sun Microsystems, Inc. Santa Clara, CA 95054, USA.
- BTrace:Core: samples DTraceInline.java—Project Kenai, Source code file content, retrieved Nov. 13, 2013 from https://kenai.com/projects/btrace/sources/hg/content/samples/DTraceInline.java, pp. 1-2; Copyright 2008-2010 Sun Microsystems, Inc. Santa Clara, CA 95054, USA.
- Dynamic Probes, About Dynamic Probes, pp. 1-2; retrieved Nov. 14, 2013 from http://dprobes.sourceforge.net/.
- Hendrik Weimer, OS Reviews, strace: Dissecting Program, retrieved Nov. 14, 2013 from http://www.osreviews.net/reviews/admin/strace, Copyright 2006-2008 OS Reviews.
- Peter W. Gill, "Probing for a Continual Validation Prototype", May 2001, pp. 1-111; http://www.wpi.edu/Pubs/ETD/Available/etd-0826101-235008/unrestricted/gill.pdf.