Porting issue [message #124852] |
Fri, 29 February 2008 07:51  |
Eclipse User |
|
|
|
Originally posted by: ck2329.mail.ru
Dear TPTP commiters
Now im porting TPTP javaprofiler (JVMTI) to MIPS-based system running
under Linux. After long fight - im able to run ACServer and profiler libs.
Im able to connect to AC from eclipse gui, able to receive agent list.
Then im runnning my java application on MIPS target with attached HeapProf
:
java '-agentlib:JPIBootLoader=JPIAgent:server=enabled;CGProf' -jar
ConsumerProducer2.jar
Then im attaching to this process from Eclipse GUI(ussing Attach to Agent
feature). Then right click on process in Profiling Monitor window and then
i choose Start Monitoring.
Agent receives [Resume Command] but no data is transfered to Eclipse.
If i run same command line as above but in standalone mode - trace.trcxml
file has lot of info (and if i load this file to Eclipse then results are
OK)- thus i think my agent is able to collect data from JAVAVM.
So as i think problem may be in two parts - shared mem channel between AC
and agent or in socket channel between AC and Eclipse(sniffer shows that
only commands are passed between AC and Eclipse, but not data).
I cant see any errors in MARTINI log or AC server log :-(
What part of code should i examine to find out the reason of this issue?
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|