Patent ID: 9021448
Filing Date: 2015-04-28
Classification: G06F,H04L

Abstract:
1. A method, comprising: identifying a hierarchy of invoked methods of an application, the methods are not instrumented and the identifying the hierarchy comprises sampling a stack of the application at multiple sampling times, providing thread stack traces based on the sampling which identify executing code in a textual output of lines, and reading the textual output of lines to identify the invoked methods; identifying attributes of the invoked methods, the identifying the attributes comprises reading the textual output of lines; generating a data structure representing a hierarchy of the attributes of the invoked methods according to the hierarchy of the invoked methods, the generating comprises aggregating the attributes of the invoked methods over the multiple sampling times to provide an aggregated hierarchy which represents the attributes and an order in which the attributes are used in the application; comparing the data structure representing the hierarchy of the attributes of the invoked methods to a reference data structure, the reference data structure representing a reference hierarchy of attributes; based on the comparing, identifying a match between the reference data structure and a subset of attributes of the hierarchy of the attributes of the invoked methods, the subset of attributes is associated with a subset of the invoked methods; and in response to the identifying the match, instrumenting the subset of the invoked methods.