Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Test and Performance Tools Platform (TPTP) » Profiling a JNI invocation API-based application using TPTP 4.2
Profiling a JNI invocation API-based application using TPTP 4.2 [message #139582] Sat, 17 January 2009 19:44
Eclipse UserFriend
Originally posted by: rosec.messagingdirect.com

Good morning;

I need to profile a java application launched by the JNI invocation API
from a C application, and naturally the TPTP tools seemed like a good
place to start. However, I can start the application, but I have no
idea how to connect to it for profiling. I realize this falls into the
'dumb newbie' bucket, but I really am kind of lost. Permit me to explain:

I have added the JVM option "-XrunpiAgent:server=controlled" to my java
VM startup options.

I have added
$ECLIPSE_HOME/plugins/org.eclipse.tptp.platform.ac.linux_ia3 2_4.4.1.v200808290100/agent_controller/lib
to my LD_LIBRARY_PATH

I am running against the Sun Java 1.5.0_10 JVM library

In Eclipse, I have a Java project that contains the code I wish to
profile. I've got no profiling launch configurations, nor do I really
know what needs to go into them.

It is at this point that my knowledge comes to an end; when I start my
JNI-based application, it simply stops during VM startup and sits
awaiting, presumably, an agent controller connection. What steps do I
need to take to get this to happen, and to get information from it?

--
Chris Rose
Developer Planet Consulting Group
(780) 577-8433
crose@planetci.com
Previous Topic:Missing entry point in AgentBase.dll
Next Topic:TPTP and UTP
Goto Forum:
  


Current Time: Thu Apr 25 14:28:19 GMT 2024

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

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

Back to the top