Skip to main content

Using profiling tools on phoneME Advanced?

4 replies [Last post]
iniesta
Offline
Joined: 2006-12-10

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

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
iniesta
Offline
Joined: 2006-12-10

Thanks Hinkmond & Bill.

I will try it.

iniesta

billp
Offline
Joined: 2006-09-19

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: -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

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

Hinkmond Wong

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