Hi Thomas,
What i did not find were classes dealing with retreaving trace data (from
whereever) to visualise.
Here's a high level overview of data flow in a profiling session: 1. Client initiates a profiling session launch 2. A process is launched in profling mode using the Integraged Agent Controller or a standalone Agent Controller 3. The client attaches to the agent that is bound to the Java process launched in (2) 4. The data retrieved from the agent in (3) is sent to a data processor that will load each event into an EMF based model 5. The views query the EMF model to provide the visualization. See platform/org.eclipse.tptp.platform.jvmti.client to get an overview of how to accomplish 1-4. You'll need to review trace/org.eclipse.hyades.trace.views to get an overview of how to accomplish 5.
What I would like to have is a callgraph of a JUnit-Testrun (whereas
profiling JUnit Tests will not be supported anymore, right? TPTP came to an agreement with JDT to add back JUnit and Plug-in JUnit profiling support in i3. These functions have temporarily been removed in i2.
Furthermore, is there any possibility to query the trace data online (as
events occur)? Or do i have to make the indirection via the file? Yes, you can have events processes in live-mode. This is in fact how the JVMPI and JVMTI agents work. Hope that helps, Ali Mehregani On 3/28/07, Thomas Eichstädt-Engelen <[EMAIL PROTECTED]> wrote:
Hi all, i am currently working on my bachelor thesis which makes use of the tptp tracing components (probably you read my question in the newsgroup). My first attempt was to create my own profiler to collect execution data (method entry/exit) to create a dynamic callgrapg from. Then one gave me the hint to look at uml2sd which creates something like that. I checked out the plugin "org.eclipse.tptp.platform.common.ui" and found some classes reagarding creation of a SDView. What i did not find were classes dealing with retreaving trace data (from whereever) to visualise. Could you give me a more detailed pointer, please. I searched through the code but was not successful right now. What I would like to have is a callgraph of a JUnit-Testrun (whereas profiling JUnit Tests will not be supported anymore, right? [read that in a bug]). What i think i understood so far is the following: - at first i have to create a trcaxmi file with the existing ExecutionFlow Agent (probably by registering my own dataCollectionMechanism) - then i have to notified by somethinf that profiling has finished and data could be queried - than i have to query this trcaxmi file (somehow) and create the callgraph from, right? Furthermore, is there any possibility to query the trace data online (as events occur)? Or do i have to make the indirection via the file? If anyone could give me some pointers to get started it would be much appreciated. Regards, Thomas E.-E. _______________________________________________ tptp-tracing-profiling-tools-dev mailing list tptp-tracing-profiling-tools-dev@eclipse.org https://dev.eclipse.org/mailman/listinfo/tptp-tracing-profiling-tools-dev
-- Ali Mehregani Test & Performance Tools Platform http://www.eclipse.org/tptp
_______________________________________________ tptp-tracing-profiling-tools-dev mailing list tptp-tracing-profiling-tools-dev@eclipse.org https://dev.eclipse.org/mailman/listinfo/tptp-tracing-profiling-tools-dev