Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Test and Performance Tools Platform (TPTP) » Posting on behalf of Thomas Eichst
Posting on behalf of Thomas Eichst [message #94448] Thu, 29 March 2007 15:45 Go to next message
No real name is currently offline No real nameFriend
Messages: 404
Registered: July 2009
Senior Member
thanks for your pointers, they were very helpful!


> 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


If I understand right most of steps 1-4 are done by TIDelegationHelper and
its specialised LaunchDelegates (JavaApplication, JUnit, etc.). So i
thought of subclassing TIJavaLauncherDelegate get somehow to the launched
process to register my IProcessListener. The Listener itself triggers
something of my code to query the emf model to go to step 5 and open a
corresponding with my callgraphView.

My problem is: access to all the relevant classes named above is
prohibited, so no subclassing is possible. I am sure i overlooked a
special factory which helps me doing the job, right?

Cheers,

Thomas E.-E.
Re: Posting on behalf of Thomas Eichst [message #94466 is a reply to message #94448] Thu, 29 March 2007 15:45 Go to previous message
No real name is currently offline No real nameFriend
Messages: 404
Registered: July 2009
Senior Member
Assuming that the EMF models contain everything that you need to construct
the call graph, then you'll only need to register a new view that will open
against a specific analysis type of the TI agent (e.g. Execution Flow).
There are extension points available to accomplish this (see
org.eclipse.hyades.trace.views)

The packages of the TI client plug-in are internal and there are no plans of
exposing the APIs.



"Ali Mehregani" <amehrega@ca.ibm.com> wrote in message
news:eugmu7$ldi$1@build.eclipse.org...
> thanks for your pointers, they were very helpful!
>
>
>> 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
>
>
> If I understand right most of steps 1-4 are done by TIDelegationHelper and
> its specialised LaunchDelegates (JavaApplication, JUnit, etc.). So i
> thought of subclassing TIJavaLauncherDelegate get somehow to the launched
> process to register my IProcessListener. The Listener itself triggers
> something of my code to query the emf model to go to step 5 and open a
> corresponding with my callgraphView.
>
> My problem is: access to all the relevant classes named above is
> prohibited, so no subclassing is possible. I am sure i overlooked a
> special factory which helps me doing the job, right?
>
> Cheers,
>
> Thomas E.-E.
>
>
Previous Topic:unable to enable Integrated Agent Controller, please help!
Next Topic:Problems with 4.3.1
Goto Forum:
  


Current Time: Tue Mar 19 09:09:40 GMT 2024

Powered by FUDForum. Page generated in 0.03397 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top