<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.2627" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=宋体 size=2><SPAN class=412394814-16052005>Hi, all. I'm trying to
do something with xprofiler on kaffe-1.1.5, but find some
problems.</SPAN></FONT></DIV>
<DIV><FONT face=宋体 size=2><SPAN
class=412394814-16052005></SPAN></FONT> </DIV>
<DIV><FONT face=宋体 size=2><SPAN class=412394814-16052005>I configured it by:
</SPAN></FONT></DIV>
<DIV><FONT face=宋体 size=2><SPAN class=412394814-16052005>./configure
--enable-debug --enable-xprofiling --with-staticvm --with-staticlib
--with-profiling</SPAN></FONT></DIV>
<DIV><FONT face=宋体 size=2><SPAN class=412394814-16052005>(The last four
parameters are nacessary for xprofiler, which I learnt from
FAQ.xprofiler)</SPAN></FONT></DIV>
<DIV><FONT face=宋体 size=2><SPAN class=412394814-16052005>After that, I compiled
and installed kaffe in the regular way.</SPAN></FONT></DIV>
<DIV><FONT face=宋体 size=2><SPAN
class=412394814-16052005></SPAN></FONT> </DIV>
<DIV><FONT face=宋体 size=2><SPAN class=412394814-16052005>I wrote a simple class
to test xprofiler, that is HelloWorld:</SPAN></FONT></DIV>
<DIV><FONT face=宋体 size=2><SPAN
class=412394814-16052005></SPAN></FONT> </DIV>
<DIV><FONT size=2><SPAN class=412394814-16052005>
<P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US
style="mso-hansi-font-family: 宋体; mso-bidi-font-family: 宋体"><FONT size=3><FONT
face=宋体>import java.io.*;<BR>import java.lang.*;<BR><BR>class HelloWorld
{<BR><SPAN style="mso-tab-count: 1"> </SPAN>private static
final int times = 10;<BR><SPAN style="mso-tab-count: 1">
</SPAN>public static void main(String[] args) {<BR><SPAN
style="mso-tab-count: 2">
</SPAN>for(int i = 0; i < times; i++)<BR><SPAN
style="mso-tab-count: 3">
</SPAN>System.out.println("Hello world [ " + i + " ]");<BR><SPAN
style="mso-tab-count: 1"> </SPAN>}<BR>}<BR><?xml:namespace
prefix = o ns = "urn:schemas-microsoft-com:office:office"
/><o:p> </o:p></FONT></FONT></SPAN></P>
<P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"><SPAN
class=412394814-16052005><FONT face=宋体>HelloWorld.class can run normally by
kaffe without any parameter. But when I run it with -Xxprof to start xprofiler,
kaffe don't terminate after executing main(), so I must press Ctrl+C to stop it
manually. Only kaffe-jit-symbols.s is generated by kaffe, but I can't find <SPAN
lang=EN-US
style="FONT-SIZE: 10.5pt; FONT-FAMILY: 宋体; mso-bidi-font-family: 宋体; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">xgmon.out.</SPAN></FONT></SPAN></P>
<P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"><SPAN
class=412394814-16052005><FONT face=宋体><SPAN lang=EN-US
style="FONT-SIZE: 10.5pt; FONT-FAMILY: 宋体; mso-bidi-font-family: 宋体; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA"></SPAN></FONT></SPAN> </P>
<P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"><SPAN
class=412394814-16052005><FONT face=宋体><SPAN lang=EN-US
style="FONT-SIZE: 10.5pt; FONT-FAMILY: 宋体; mso-bidi-font-family: 宋体; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">I
want to know how to use xprofiler properly. Thank you!</SPAN></FONT></SPAN></P>
<P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"><SPAN
class=412394814-16052005><FONT face=宋体><SPAN lang=EN-US
style="FONT-SIZE: 10.5pt; FONT-FAMILY: 宋体; mso-bidi-font-family: 宋体; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA"></SPAN></FONT></SPAN> </P>
<P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"><SPAN
class=412394814-16052005><FONT face=宋体><SPAN lang=EN-US
style="FONT-SIZE: 10.5pt; FONT-FAMILY: 宋体; mso-bidi-font-family: 宋体; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">Jiangzhou
He</SPAN></FONT></SPAN></SPAN></FONT></P></DIV></BODY></HTML>