Hi, You can look at:
org.eclipse.hyades.trace.ui\src\org\eclipse\hyades\trace\ui\internal\lau ncher\ProfileHostTab.java, line 115 here host name is saved to configuration, and at: org.eclipse.tptp.platform.jvmti.client\src\org\eclipse\tptp\platform\jvm ti\client\internal\launcher\TIAttachLauncherDelegate.java, line 83 There is example how to obtain host name from configuration. Other properties are got by the same way but associated with other constants (ATTR_PORT, ATTR_AGENTS, etc.) Probably to use this data in you module you should pass whole launch configuration into it and then get distinct field where required. Alex. ________________________________ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of khalil bannour Sent: Wednesday, October 03, 2007 12:19 PM To: tptp-tracing-profiling-tools-dev@eclipse.org Subject: [tptp-tracing-profiling-tools-dev] How to retrieve Host name or IPadress 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, Khalil Bannour, A+ -------------------------------------------------------------------- Closed Joint Stock Company Intel A/O Registered legal address: 125252, Moscow, Russian Federation, Chapayevsky Per, 14. This e-mail and any attachments may contain confidential material for the sole use of the intended recipient(s). Any review or distribution by others is strictly prohibited. If you are not the intended recipient, please contact the sender and delete all copies.
_______________________________________________ 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