Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Test and Performance Tools Platform (TPTP) » Problem importing profiling file
Problem importing profiling file [message #133896] Wed, 06 August 2008 21:00 Go to next message
Aubrey Barnard is currently offline Aubrey BarnardFriend
Messages: 4
Registered: July 2009
Junior Member
To those who may kindly answer my question,

I am trying to profile a Java application of mine. For efficiency, I had
the profiling data sent to a file. However, the TPTP will not import the
file.

Specifically, I have followed the instructions in the help documentation
(Monitoring and profiling applications > Profiling an application >
Working with profiling resources > Importing profiling resources), but
when I click "Finish" nothing happens except a brief CPU spike. It appears
to be dying silently; no error dialog is presented and nothing is printed
on the parent terminal.

This happens regardless of whether I try to import the *.trcxml file or
the contents extracted (unzipped) from it.

Is there something I am missing and should be doing differently? Is this a
bug?

Thanks much for clarifying the situation.

Sincerely,

Aubrey Barnard
Re: Problem importing profiling file [message #134043 is a reply to message #133896] Thu, 07 August 2008 14:09 Go to previous messageGo to next message
Eugene Chan is currently offline Eugene ChanFriend
Messages: 287
Registered: July 2009
Senior Member
Hi Aubrey,

Would you please provide more information about your environment? What TPTP
driver are you using? On which Platform? What is the size of your profile
file? Does the unzipped contents contains any data within?

Eugene

"Aubrey Barnard" <barnard@cs.wisc.edu> wrote in message
news:fcedb06b1a505883b897671bf8efadbd$1@www.eclipse.org...
> To those who may kindly answer my question,
>
> I am trying to profile a Java application of mine. For efficiency, I had
> the profiling data sent to a file. However, the TPTP will not import the
> file.
>
> Specifically, I have followed the instructions in the help documentation
> (Monitoring and profiling applications > Profiling an application >
> Working with profiling resources > Importing profiling resources), but
> when I click "Finish" nothing happens except a brief CPU spike. It appears
> to be dying silently; no error dialog is presented and nothing is printed
> on the parent terminal.
>
> This happens regardless of whether I try to import the *.trcxml file or
> the contents extracted (unzipped) from it.
>
> Is there something I am missing and should be doing differently? Is this a
> bug?
>
> Thanks much for clarifying the situation.
>
> Sincerely,
>
> Aubrey Barnard
>
Re: Problem importing profiling file [message #134053 is a reply to message #134043] Thu, 07 August 2008 16:46 Go to previous messageGo to next message
Aubrey Barnard is currently offline Aubrey BarnardFriend
Messages: 4
Registered: July 2009
Junior Member
Eugene,

Sorry, I didn't figure you would need to know the details right away. Here
they are.

Environment:
OS: Red Hat Enterprise Linux 5 x86-64
Eclipse: 3.4.0 (Ganymede release) x86-64
Java: Sun's JDK 1.6.0-06 x86-64
TPTP (Platform Project): 4.5.0.v200804180100
TPTP (Tracing and Profiling Tools Project): 4.3.100.v200802291616
TPTP installed via the Software Updates feature in Eclipse.

The profiling file (*.trcxml) is 344M. I don't know whether this is large
or not, but the contents seem large. Unzipped, the contents are 3.6G.
Though the contents are in some sort of a binary format (encoded XML?),
they look sensible with recognizable paths, packages and other strings.

Still, I would hope the TPTP could deal with a file of this size. (It's
basically aggregating runtime data, which should consume a fairly constant
size of memory, right?) The unprofiled application takes less than 4
seconds to run which seems reasonable to try to profile. Furthermore, the
import doesn't work even if I tell it to only import the first 1% of the
profiling file.

The CPU spike I see when I try to import is quite short, implying that the
TPTP hasn't yet started to import the file contents.

Let me know if I can give you other helpful information, e.g. logs.

Thank you very much for helping me figure out this issue.

Aubrey
Re: Problem importing profiling file [message #134060 is a reply to message #134053] Thu, 07 August 2008 18:38 Go to previous message
Eugene Chan is currently offline Eugene ChanFriend
Messages: 287
Registered: July 2009
Senior Member
Hi Aubrey,

I have sent you a separate email for the trcxml file to be imported in a
Windows driver. I want first to make sure the validity of the file then we
can see if it's something with the driver itself. Please see my response in
a separate email to you account.

Eugene.


"Aubrey Barnard" <barnard@cs.wisc.edu> wrote in message
news:a64cfdeb16122df1f459523d233f476a$1@www.eclipse.org...
> Eugene,
>
> Sorry, I didn't figure you would need to know the details right away. Here
> they are.
>
> Environment:
> OS: Red Hat Enterprise Linux 5 x86-64
> Eclipse: 3.4.0 (Ganymede release) x86-64
> Java: Sun's JDK 1.6.0-06 x86-64
> TPTP (Platform Project): 4.5.0.v200804180100
> TPTP (Tracing and Profiling Tools Project): 4.3.100.v200802291616
> TPTP installed via the Software Updates feature in Eclipse.
>
> The profiling file (*.trcxml) is 344M. I don't know whether this is large
> or not, but the contents seem large. Unzipped, the contents are 3.6G.
> Though the contents are in some sort of a binary format (encoded XML?),
> they look sensible with recognizable paths, packages and other strings.
>
> Still, I would hope the TPTP could deal with a file of this size. (It's
> basically aggregating runtime data, which should consume a fairly constant
> size of memory, right?) The unprofiled application takes less than 4
> seconds to run which seems reasonable to try to profile. Furthermore, the
> import doesn't work even if I tell it to only import the first 1% of the
> profiling file.
>
> The CPU spike I see when I try to import is quite short, implying that the
> TPTP hasn't yet started to import the file contents.
>
> Let me know if I can give you other helpful information, e.g. logs.
>
> Thank you very much for helping me figure out this issue.
>
> Aubrey
>
Previous Topic:C/C++ Code Review Provider: unable to satisfy dependency
Next Topic:How to use TPTP profile for a Geronimo server?
Goto Forum:
  


Current Time: Fri Apr 26 14:51:47 GMT 2024

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

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

Back to the top