The Source for Java Technology Collaboration

Home » java.net Forums » Phone ME » phoneME Advanced software

Thread: Using profiling tools on phoneME Advanced?

Welcome, Guest Help
Login Login
Guest Settings Guest Settings
Reply to this Thread Reply to this Thread Search Forum Search Forum Back to Thread List Back to Thread List

Permlink Replies: 4 - Last Post: May 20, 2008 7:43 PM by: iniesta Threads: [ Previous | Next ]
iniesta

Posts: 4
Using profiling tools on phoneME Advanced?
Posted: May 19, 2008 2:32 AM
  Click to reply to this thread Reply

Hi,

I'm using phoneME Advanced on both win32-x86 & linux-arm platform.

The latest phoneME should already have JVMTI support.
And I'm wondering if I can use any profiling tools on phoneME, like eclipse tptp or netbeans.

Thanks,
iniesta

Hinkmond Wong
Re: Using profiling tools on phoneME Advanced?
Posted: May 19, 2008 4:28 PM   in response to: iniesta
  Click to reply to this thread Reply

phonemeadvanced@mobileandembedded.org wrote:
> Hi,
>
> I'm using phoneME Advanced on both win32-x86 & linux-arm platform.
>
> The latest phoneME should already have JVMTI support.
> And I'm wondering if I can use any profiling tools on phoneME, like eclipse tptp or netbeans.
>

This question is best answered by Bill P. But, I believe the answer is
yes, with pMEA the JVMTI support should allow for profiling tools (like
NetBeans) to be used with it. I think Bill is working on an external
Wiki page that will have instructions on how to do that.


Hinkmond


---------------------------------------------------------------------
To unsubscribe, e-mail: advanced-unsubscribe@phoneme.dev.java.net
For additional commands, e-mail: advanced-help@phoneme.dev.java.net


billp

Posts: 24
Re: Using profiling tools on phoneME Advanced?
Posted: May 19, 2008 6:33 PM   in response to: iniesta
  Click to reply to this thread Reply

Profiling pMEA using NetBeans requires some new native libs and some minor changes to NetBeans itself. We were hoping that these changes would get rolled into the 6.x official releases of NetBeans but unfortunately that didn't happen. However, I've put together a cookbook along with some zip files that should allow you to profile with NetBeans 6.0. See the twiki entry here:
http://wiki.java.net/bin/view/Mobileandembedded/PhoneMEAdvancedProfiling

In addition there is a JVMTI version of hprof that is in the source tree. If you build with CVM_JVMTI=true that agent will build automatically. To use it you would pass the -agentlib argument to CVM like so:
bin/cvm -agentlib:jvmtihprof -Xbootclasspath/a:<absolute path to java_crw_demo.jar> -classpath test.jar Test

The java_crw_demo.jar file is in your build area under the 'lib' subdirectory. It contains the instrumentation code that the jvmtihprof agent injects into the application classes.

For help pass the -agentlib:jvmtihprof=help argument.

bill

Hinkmond Wong
Re: Using profiling tools on phoneME Advanced?
Posted: May 19, 2008 6:33 PM   in response to: billp
  Click to reply to this thread Reply

phonemeadvanced@mobileandembedded.org wrote:
> Profiling pMEA using NetBeans requires some new native libs and some minor changes to NetBeans itself. We were hoping that these changes would get rolled into the 6.x official releases of NetBeans but unfortunately that didn't happen. However, I've put together a cookbook along with some zip files that should allow you to profile with NetBeans 6.0. See the twiki entry here:
> http://wiki.java.net/bin/view/Mobileandembedded/PhoneMEAdvancedProfiling
>
>

Thanks Bill!

Hinkmond



---------------------------------------------------------------------
To unsubscribe, e-mail: advanced-unsubscribe@phoneme.dev.java.net
For additional commands, e-mail: advanced-help@phoneme.dev.java.net


iniesta

Posts: 4
Re: Using profiling tools on phoneME Advanced?
Posted: May 20, 2008 7:43 PM   in response to: iniesta
  Click to reply to this thread Reply

Thanks Hinkmond & Bill.

I will try it.

iniesta




 XML java.net RSS