×

Two pass automated application instrumentation

  • US 8,938,729 B2
  • Filed: 10/12/2010
  • Issued: 01/20/2015
  • Est. Priority Date: 10/12/2010
  • Status: Active Grant
First Claim
Patent Images

1. A machine-implemented method for instrumenting an application having a plurality of components, comprising:

  • automatically statically analyzing the application to determine which of the components in the application to place probes in;

    automatically statically adding probes in the determined components while the application is not running;

    running the application after statically adding the probes;

    receiving data from the statically added probes while the application runs;

    determining metrics for a first of the statically added probes in a first of the components based on the data, the metrics comprising an execution time of the first component and an invocation rate of the first component;

    moving the first statically added probe to a component in the application up a call graph from the first statically added probe when the invocation rate of the first component is greater than a first threshold;

    moving the first statically added probe to a component in the application down the call graph when the invocation rate of the first component is less than a second threshold that is less than or equal to the first threshold;

    moving the first statically added probe to a component in the application down the call graph when the execution time of the first component is greater than a third threshold providing that the invocation rate of the first component is not greater than the first threshold, wherein the moving the first statically added probe up or down the call graph comprises moving the first statically added probe while the application is running;

    repeating, for additional statically added probes, the determining and the moving the additional probe up or down the call graph.

View all claims
  • 2 Assignments
Timeline View
Assignment View
    ×
    ×