Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Test and Performance Tools Platform (TPTP) » Profile without AgentController
Profile without AgentController [message #93846] Tue, 20 March 2007 19:36 Go to next message
Eclipse UserFriend
Originally posted by: mike.bernat.gmail.com

I all looking at implementing a profiling mechanism for an external domain-specific language environment. When launched,
there is already a connection from its runtime process back to the workbench for things like log messages and debugging.
I would like to piggyback the profile data on this same connection. Is this possible, and if so, is there an example for
delivering profile data outside of the AgentController framework?

Thanks in advance,
Mike
Re: Profile without AgentController [message #93981 is a reply to message #93846] Fri, 23 March 2007 14:03 Go to previous messageGo to next message
No real name is currently offline No real nameFriend
Messages: 404
Registered: July 2009
Senior Member
Yes, it is possible to by pass the Agent Controller to display profiling
data on the workbench. We don't have any examples in TPTP that illustrates
this but you can probably get an idea of how to accomplish it by reviewing
the JVMTI client code (see platform/org.eclipse.tptp.platform.jvmti.client).

For as long as your profiler outputs data in the format expected by TPTP's
data processor, then you'll be able to load the events just like the JVMPI
of JVMTI profiler.

Here are some documents that may help:
http://www.eclipse.org/tptp/platform/documents/resources/pro filingspec/XML4Profiling.htm
http://www.eclipse.org/tptp/platform/documents/resources/pro filingspec/trace.dtd.html
http://www.eclipse.org/tptp/platform/documents/tutorials/dat acollection/launch-extensions/extending-launch-configuration .html

Good luck,
Ali Mehregani


"Mike Bernat" <mike.bernat@gmail.com> wrote in message
news:etpd35$enm$1@utils.eclipse.org...
>I all looking at implementing a profiling mechanism for an external
>domain-specific language environment. When launched, there is already a
>connection from its runtime process back to the workbench for things like
>log messages and debugging. I would like to piggyback the profile data on
>this same connection. Is this possible, and if so, is there an example for
>delivering profile data outside of the AgentController framework?
>
> Thanks in advance,
> Mike
Re: Profile without AgentController [message #94085 is a reply to message #93981] Fri, 23 March 2007 18:13 Go to previous message
Eclipse UserFriend
Originally posted by: mike.bernat.gmail.com

Hi Ali,

Thanks for the response. I have already read the documents you linked to and they were helpful.
I will read through the JVMTI client code as see what I can find.

Best regards,
Mike

Ali Mehregani wrote:
> Yes, it is possible to by pass the Agent Controller to display profiling
> data on the workbench. We don't have any examples in TPTP that illustrates
> this but you can probably get an idea of how to accomplish it by reviewing
> the JVMTI client code (see platform/org.eclipse.tptp.platform.jvmti.client).
>
> For as long as your profiler outputs data in the format expected by TPTP's
> data processor, then you'll be able to load the events just like the JVMPI
> of JVMTI profiler.
>
> Here are some documents that may help:
> http://www.eclipse.org/tptp/platform/documents/resources/pro filingspec/XML4Profiling.htm
> http://www.eclipse.org/tptp/platform/documents/resources/pro filingspec/trace.dtd.html
> http://www.eclipse.org/tptp/platform/documents/tutorials/dat acollection/launch-extensions/extending-launch-configuration .html
>
> Good luck,
> Ali Mehregani
>
>
> "Mike Bernat" <mike.bernat@gmail.com> wrote in message
> news:etpd35$enm$1@utils.eclipse.org...
>> I all looking at implementing a profiling mechanism for an external
>> domain-specific language environment. When launched, there is already a
>> connection from its runtime process back to the workbench for things like
>> log messages and debugging. I would like to piggyback the profile data on
>> this same connection. Is this possible, and if so, is there an example for
>> delivering profile data outside of the AgentController framework?
>>
>> Thanks in advance,
>> Mike
>
>
Previous Topic:creation of a dynamic callgraph ~ tracepoint
Next Topic:Locate registered Agents and launch from Profile launch wizard
Goto Forum:
  


Current Time: Tue Apr 16 23:39:09 GMT 2024

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

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

Back to the top