|
Re: 'recorder' tptp distibutive/pack? [message #111976 is a reply to message #111963] |
Fri, 07 September 2007 14:45 |
Eclipse User |
|
|
|
Originally posted by: alexander.n.alexeev.intel.com
Vadim, if I understand correctly you are trying to debug raw Java
application.
In this case you can use TPTP at stand-alone mode. This allows you to
gather execution sequence information offline and later construct Call
Graph or some other presentation, it depends from type of profiling and
configuration.
Required steps:
1. Download "Agent Controller" archive for target platform
2. Deploy it any appropriate place
3. Configure execution for profiled application
- set environment variables
TPTP_AC_HOME=<<Agent Controller Home>>
JAVA_PROFILER_HOME=%TPTP_AC_HOME%\plugins\org.eclipse.tptp.j avaprofiler
PATH=%JAVA_PROFILER_HOME%;%PATH%;%TPTP_AC_HOME%\bin:%JAVA_HO ME%\bin
or LD_LIBRARY_PATH if you work with Linux
- Configure filters to reduce runtime overhead, trace file size and to
remove clutter. Filter configuration file is simple text with
following
format
"package/class template" "method" INCLUDE/EXCLUDE
Pay attention to order of templates, it affects which information
will be
collected.
4. Run target application on JVM with configured TPTP agent
"java -cp <class path>
-agentlib:JPIBootLoader=JPIAgent:server=standalone,filters=m yFilter.txt;CGProf:execdetails=true
<application class>"
By default information is collected in trace.trcxml, ant it can be changed.
5. After all collected data can be analyzed at Eclipse with TPTP.
For more information see
http://help.eclipse.org/help33/topic/org.eclipse.tptp.platfo rm.doc.user/tasks/teprofsa.htm
Alex.
|
|
|
|
Powered by
FUDForum. Page generated in 1.03048 seconds