-
公开(公告)号:US09870303B2
公开(公告)日:2018-01-16
申请号:US15390347
申请日:2016-12-23
Applicant: AppDynamics LLC
Inventor: Pankaj Kumar , Amod Gupta , Sanjay Nagaraj , Michael Margulis
CPC classification number: G06F11/3495 , G06F9/466 , G06F11/3003 , G06F11/3006 , G06F11/3093 , G06F11/3466 , G06F2201/815 , G06F2201/865
Abstract: A dynamic monitoring process begins with configuring a start and end method to be monitored. The dynamic monitoring process may intercept both the start and end methods as and when the loader is initiated or at runtime to dynamically attach and detach the instrumentation. A loader may then be modified to call a library method upon detection of the start method. The library method may serve as a notification to the start of the method and causes a reflector to retrieve information from the incoming request. The incoming information may include data from which a business transaction name may be determined. The business transaction name is then associated with the monitoring of the particular request. When an exit call is detected, a call may be made to the library for a method which invokes a decorator. The decorator may insert business transaction name and other data into the outgoing call.
-
公开(公告)号:US10203970B2
公开(公告)日:2019-02-12
申请号:US14928900
申请日:2015-10-30
Applicant: AppDynamics LLC
Inventor: David Roth , Sanjay Nagaraj , Ting Liang , Pankaj Kumar
Abstract: A system implements code trampolining techniques by generating custom trampoline functions, compiling the functions, and executing the compiled functions directly from a library when the corresponding native function is called. The native functions may be binary functions, such as functions in C++ code, or other languages. A code generator may read a set of functions to be implemented and generate code, such as binary code, for the destination function. In doing so, the code generator may generate code which matches the source function signature. The generated code may then be compiled into a shared library which is loaded by the process being instrumented. When the library is initiated upon subsequent calls for the native function, the trampoline mechanisms will be set up between the source function and the generated destination function to operate seamlessly with matching signatures.
-