|
|
Re: Getting full XML trace from Eclipse plugged-in TPTP [message #140782 is a reply to message #140742] |
Thu, 26 February 2009 07:22 |
Benedikt Burgstaller Messages: 5 Registered: July 2009 |
Junior Member |
|
|
Hi Eugene,
thanks for your quick answer. I already tried this option. The data that
is wrote into the file seems to be binary, not xml. Is there an option
to change the output format?
Regards,
Benedikt
In article <go40un$gg2$1@build.eclipse.org>, ewchan@ca.ibm.com says...
>
> Hi Benedikt,
>
> You can use the profile to file option to have the profiling data sent to a
> file on your file system. This can be done by enabling the 'Send profiling
> data to a file' Option under the Destination tab of a profile launch
> configuration
>
> Eugene
>
> "Benedikt Burgstaller" <bb@sea.uni-linz.ac.at> wrote in message
> news:MPG.240f7ca535a05cb989680@news.eclipse.org...
> > Hi Everybody,
> >
> > i've been using the standalone TPTP Agent Controller (with
> > server=standalone), receiving an xml log trace i'm using for trace
> > analysis. I then tried to obtain this trace from the TPTP plugin
> > integrated in Eclipse but could not find an option todo so unless I use
> > the VM argument server=standalone but then I can't control it from
> > Eclipse. All the traces one can export from the different views of TPTP
> > in Eclipse do not provide this trace.
> > Is it possible to somehow obtain this trace from the TPTP plugin in
> > Eclipse + use the pause and unpause buttons to control the profiler?
> >
> > My configuration:
> > Eclipse 3.4.1
> > TPTP Log and Trace Analyzer 4.5.0
> > TPTP Monitoring Tools Project 4.4.100
> > TPTPT Platform Project 4.5.1
> > TPTP Test Framework and Tools 4.3.300
> > TPTP Tracing and Profiling Tools Project 4.3.200
> >
> >
> > The trace I mentioned looks like this:
> > <?xml version="1.0"?>
> > <TRACE>
> > <node nodeId="" hostname="localhost" ipaddress="127.0.0.1" timezone="-
> > 60" time="1235550003.963170200"/>
> > <processCreate processId="e97c3855-88ef-4952-a3af-21517132d8bf"
> > pid="5336" nodeIdRef="" time="1235550003.963170200"/>
> > <agentCreate agentId="e4d8eece-f7f6-4c8e-bcf4-d1e4d11fb906"
> > version="2.000" processIdRef="e97c3855-88ef-4952-a3af-21517132d8bf"
> > agentName="org.eclipse.tptp.jvmti" agentType="Profiler"
> > agentParameters="server=standalone,file=log.trcxml,filters=filter.txt "
> > time="1235550004.119000000"/>
> > <traceStart traceId="94306197-a937-4dae-8684-e36643ccdfa8"
> > agentIdRef="e4d8eece-f7f6-4c8e-bcf4-d1e4d11fb906"
> > time="1235550004.132489842"/>
> > <filter pattern="com.sun" mode="EXCLUDE" genericPattern="SUFFIX"
> > methodPattern="" methodMode="EXCLUDE" methodGenericPattern="PREFIX"/>
|
|
|
Re: Getting full XML trace from Eclipse plugged-in TPTP [message #140792 is a reply to message #140782] |
Thu, 26 February 2009 15:48 |
Eugene Chan Messages: 287 Registered: July 2009 |
Senior Member |
|
|
Hi Benedikt,
You can switch the output format by setting the environment varialble
TPTP_OUTPUT_FORMAT=[xml|binary]Eugene
"Benedikt Burgstaller" <bb@sea.uni-linz.ac.at> wrote in message
news:MPG.24106197b4765f5989681@news.eclipse.org...
> Hi Eugene,
>
> thanks for your quick answer. I already tried this option. The data that
> is wrote into the file seems to be binary, not xml. Is there an option
> to change the output format?
>
> Regards,
> Benedikt
>
> In article <go40un$gg2$1@build.eclipse.org>, ewchan@ca.ibm.com says...
>>
>> Hi Benedikt,
>>
>> You can use the profile to file option to have the profiling data sent to
>> a
>> file on your file system. This can be done by enabling the 'Send
>> profiling
>> data to a file' Option under the Destination tab of a profile launch
>> configuration
>>
>> Eugene
>>
>> "Benedikt Burgstaller" <bb@sea.uni-linz.ac.at> wrote in message
>> news:MPG.240f7ca535a05cb989680@news.eclipse.org...
>> > Hi Everybody,
>> >
>> > i've been using the standalone TPTP Agent Controller (with
>> > server=standalone), receiving an xml log trace i'm using for trace
>> > analysis. I then tried to obtain this trace from the TPTP plugin
>> > integrated in Eclipse but could not find an option todo so unless I use
>> > the VM argument server=standalone but then I can't control it from
>> > Eclipse. All the traces one can export from the different views of TPTP
>> > in Eclipse do not provide this trace.
>> > Is it possible to somehow obtain this trace from the TPTP plugin in
>> > Eclipse + use the pause and unpause buttons to control the profiler?
>> >
>> > My configuration:
>> > Eclipse 3.4.1
>> > TPTP Log and Trace Analyzer 4.5.0
>> > TPTP Monitoring Tools Project 4.4.100
>> > TPTPT Platform Project 4.5.1
>> > TPTP Test Framework and Tools 4.3.300
>> > TPTP Tracing and Profiling Tools Project 4.3.200
>> >
>> >
>> > The trace I mentioned looks like this:
>> > <?xml version="1.0"?>
>> > <TRACE>
>> > <node nodeId="" hostname="localhost" ipaddress="127.0.0.1" timezone="-
>> > 60" time="1235550003.963170200"/>
>> > <processCreate processId="e97c3855-88ef-4952-a3af-21517132d8bf"
>> > pid="5336" nodeIdRef="" time="1235550003.963170200"/>
>> > <agentCreate agentId="e4d8eece-f7f6-4c8e-bcf4-d1e4d11fb906"
>> > version="2.000" processIdRef="e97c3855-88ef-4952-a3af-21517132d8bf"
>> > agentName="org.eclipse.tptp.jvmti" agentType="Profiler"
>> > agentParameters="server=standalone,file=log.trcxml,filters=filter.txt "
>> > time="1235550004.119000000"/>
>> > <traceStart traceId="94306197-a937-4dae-8684-e36643ccdfa8"
>> > agentIdRef="e4d8eece-f7f6-4c8e-bcf4-d1e4d11fb906"
>> > time="1235550004.132489842"/>
>> > <filter pattern="com.sun" mode="EXCLUDE" genericPattern="SUFFIX"
>> > methodPattern="" methodMode="EXCLUDE" methodGenericPattern="PREFIX"/>
>
>
|
|
|
Re: Getting full XML trace from Eclipse plugged-in TPTP [message #140803 is a reply to message #140792] |
Thu, 26 February 2009 16:55 |
Benedikt Burgstaller Messages: 5 Registered: July 2009 |
Junior Member |
|
|
Hi Eugene,
thanks for your help. It works now!
Regards,
Benedikt
In article <go6dpl$qi4$1@build.eclipse.org>, ewchan@ca.ibm.com says...
>
> Hi Benedikt,
>
> You can switch the output format by setting the environment varialble
> TPTP_OUTPUT_FORMAT=[xml|binary]Eugene
> "Benedikt Burgstaller" <bb@sea.uni-linz.ac.at> wrote in message
> news:MPG.24106197b4765f5989681@news.eclipse.org...
> > Hi Eugene,
> >
> > thanks for your quick answer. I already tried this option. The data that
> > is wrote into the file seems to be binary, not xml. Is there an option
> > to change the output format?
> >
> > Regards,
> > Benedikt
> >
> > In article <go40un$gg2$1@build.eclipse.org>, ewchan@ca.ibm.com says...
> >>
> >> Hi Benedikt,
> >>
> >> You can use the profile to file option to have the profiling data sent to
> >> a
> >> file on your file system. This can be done by enabling the 'Send
> >> profiling
> >> data to a file' Option under the Destination tab of a profile launch
> >> configuration
> >>
> >> Eugene
> >>
> >> "Benedikt Burgstaller" <bb@sea.uni-linz.ac.at> wrote in message
> >> news:MPG.240f7ca535a05cb989680@news.eclipse.org...
> >> > Hi Everybody,
> >> >
> >> > i've been using the standalone TPTP Agent Controller (with
> >> > server=standalone), receiving an xml log trace i'm using for trace
> >> > analysis. I then tried to obtain this trace from the TPTP plugin
> >> > integrated in Eclipse but could not find an option todo so unless I use
> >> > the VM argument server=standalone but then I can't control it from
> >> > Eclipse. All the traces one can export from the different views of TPTP
> >> > in Eclipse do not provide this trace.
> >> > Is it possible to somehow obtain this trace from the TPTP plugin in
> >> > Eclipse + use the pause and unpause buttons to control the profiler?
> >> >
> >> > My configuration:
> >> > Eclipse 3.4.1
> >> > TPTP Log and Trace Analyzer 4.5.0
> >> > TPTP Monitoring Tools Project 4.4.100
> >> > TPTPT Platform Project 4.5.1
> >> > TPTP Test Framework and Tools 4.3.300
> >> > TPTP Tracing and Profiling Tools Project 4.3.200
|
|
|
Powered by
FUDForum. Page generated in 0.03700 seconds