Hi, .trcbin extension was once used for binary profile file when TPTP was in transition from xml to binary format. The .trcxml file generated by data collector(eg server=standalone) or UI should now in binary format (zipped in UI use case).
To activate the XML format, you will have to restart the Eclipse workbench and any data collector (ACServer.exe) that is running. Regards, ___________________________________________ Eugene Chan IBM Toronto Lab, Canada From: "Sebastien Tardif" <star...@nyc.saic.com> To: "TPTP Tracing and Profiling Tools Project developer discussions" <tptp-tracing-profiling-tools-dev@eclipse.org> Date: 10/28/2009 04:07 PM Subject: RE: [tptp-tracing-profiling-tools-dev] How to generate XML profilecompatible with trace.dtd? Sent by: tptp-tracing-profiling-tools-dev-boun...@eclipse.org The environment variable can bet set in Eclipse or need to be in OS? I tried both without success, but maybe if it?s OS, I need to restart the system. So what is the expected format of the following extensions if .trcxml is already two kind of formats depending of an environment variable? 1- .trcxml 2- .trcbin From: tptp-tracing-profiling-tools-dev-boun...@eclipse.org [ mailto:tptp-tracing-profiling-tools-dev-boun...@eclipse.org] On Behalf Of Eugene Chan Sent: Wednesday, October 28, 2009 4:00 PM To: TPTP Tracing and Profiling Tools Project developer discussions Cc: tptp-tracing-profiling-tools-dev@eclipse.org; tptp-tracing-profiling-tools-dev-boun...@eclipse.org Subject: Re: [tptp-tracing-profiling-tools-dev] How to generate XML profilecompatible with trace.dtd? Hi There is an optional environment variable TPTP_OUTPUT_FORMAT that you can set (TPTP_OUTPUT_FORMAT=xml) to configure the collector to output the trcxml file in zipped xml file format. Regards. ___________________________________________ Eugene Chan IBM Toronto Lab, Canada From: "Sebastien Tardif" <star...@nyc.saic.com> To: <tptp-tracing-profiling-tools-dev@eclipse.org> Date: 10/28/2009 02:48 PM Subject: [tptp-tracing-profiling-tools-dev] How to generate XML profile compatible with trace.dtd? Sent by: tptp-tracing-profiling-tools-dev-boun...@eclipse.org There is a DTD here: http://www.eclipse.org/tptp/platform/documents/resources/profilingspec/trace.dtd.html So I want to generate XML file compliant to this using EclipseLink tools. When I go to the open a profile dialog I have choice of two extensions: *.trcxml *.trcbin The difference seems to be that .trcxml is in xml and .trcbin is in binary format. Then when configuring a Java Application running Profile, in tab Destination, the file dialog show only .trcxml, so I choose this. However, when the file is created during a Java profiling session, the file is binary. I need to be able to generate and read readable format. Blackbox binary files are not easy to integrate with. I?m using the latest fully packaged version: tptp.runtime.allInOne.win32.win32.x86-TPTP-4.6.1.zip _______________________________________________ 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
_______________________________________________ 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