发明名称 |
DYNAMIC PER-METHOD PROBING DURING RUNTIME |
摘要 |
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. |
申请公布号 |
US2015135167(A1) |
申请公布日期 |
2015.05.14 |
申请号 |
US201314080596 |
申请日期 |
2013.11.14 |
申请人 |
Red Hat, Inc. |
发明人 |
Berk Lukas;Eigler Frank Christopher |
分类号 |
G06F11/36 |
主分类号 |
G06F11/36 |
代理机构 |
|
代理人 |
|
主权项 |
1. A method of dynamically probing a method, the method comprising:
identifying a target method to probe in an application; 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, 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; during execution of the application on a computing device, detecting when the target method is invoked; and when the method is invoked, passing the rulename to the native method in the shared object library. |
地址 |
Raleigh NC US |