|
Replies:
4
-
Last Post:
May 20, 2008 7:43 PM
by: iniesta
|
Threads:
[
Previous
|
Next
]
|
|
|
|
|
|
Using profiling tools on phoneME Advanced?
Posted:
May 19, 2008 2:32 AM
|
|
|
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
|
|
|
|
|
|
|
Re: Using profiling tools on phoneME Advanced?
Posted:
May 19, 2008 4:28 PM
in response to: iniesta
|
|
|
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
|
|
|
|
|
|
|
|
Re: Using profiling tools on phoneME Advanced?
Posted:
May 19, 2008 6:33 PM
in response to: iniesta
|
|
|
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
|
|
|
|
|
|
|
|
Re: Using profiling tools on phoneME Advanced?
Posted:
May 19, 2008 6:33 PM
in response to: billp
|
|
|
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
|
|
|
|
|
|
|
|
Re: Using profiling tools on phoneME Advanced?
Posted:
May 20, 2008 7:43 PM
in response to: iniesta
|
|
|
Thanks Hinkmond & Bill.
I will try it.
iniesta
|
|
|
|
|