Hi Khalil,

The host and port information are saved in the ILaunchConfiguration object 
under attributes IProfileLaunchConfigurationConstants.ATTR_HOSTNAME and 
IProfileLaunchConfigurationConstants.ATTR_PORT.respectively.

Regards,
------------------------------------------------------------------------------
Eugene Chan
IBM Toronto Laboratory, Canada





khalil bannour <[EMAIL PROTECTED]> 
Sent by: [EMAIL PROTECTED]
10/02/2007 05:05 AM
Please respond to
TPTP Tracing and Profiling Tools Project developer discussions 
<tptp-tracing-profiling-tools-dev@eclipse.org>


To
tptp-tracing-profiling-tools-dev@eclipse.org
cc

Subject
[tptp-tracing-profiling-tools-dev] How to retrieve Host name or IP adress 
properties from tptp profiling configuration






Hi all,

Actually I am working on a profiling project using TPTP new Java
 Profiler.

My task consists in extending the TPTP Profiling tool by a "Virtual
 Machine
Telemetry module". 

The aim of this module is the instrumentation of the target JVM
(local/remote) through JMX in order to 

track Garbage Collection activities and memory usage.

--> To better succeed this work, i must retrieve the Host name or IP
 address
specified by the user in 

the profile configuration (precisely in Host tab).

Please, do you know where does TPTP save these properties while
 configuring
a profiling session? And how 

to get this data in order o use it in my module extension?

Thanks in advance, 

A+
 Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! 
Mail _______________________________________________
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

_______________________________________________
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

Reply via email to