Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This page describes all problems, tasks and solution approaches regarding tracing of method invocations in the same thread.

...

  1. How to access information about the current method in a reliable way?

  2. How to associate a called method with it's caller?
  3. How to collect and filter the invocation information without much overhead on the target application and network?
  4. Can the amount of data form from the agent be reduced? Can it be aggregated?

...

Currently the sequence sensor is implemented as a container, which collects all sensor data (e.g. from timer sensors) starting from an defined start point (execution of a predefined method).
This collected data is chronologically ordered, to allow to trace the invocation sequence.

...

This is not suitable for asynchronous methods.  @Stefan and Patrice: Am i right here?


(Also see continues sending in IS advanced notes for better understanding)

New approaches /

...

idea

Idea:

On each hook, the Id of the currentThread would be acquired. So it could be saved when an method was executed by what thread.
(How much overhead would this generate?)


Questions / Possible Problems

...