How can I get profile data?

fei yang <[email protected]>
Newsgroups gmane.comp.java.vm.sablevm.general
Message-ID <[email protected]>
Hello,
 
       I am a student coming from China and  I am interesting in sablevm. Now I am studying GC Algorithm in sablevm, but I can't get profile data using gprof through adding CFLAGS optional to configure.
 
      First, I add CFLAGS=-pg as configure's optional. After configure, make and make install, I get gmon.out;
      Then, I use gprof to analyse gmon.out, but I can't get subfunctions's profile data. The result as following:
 
Flat profile:
Each sample counts as 0.01 seconds.
 no time accumulated
  %   cumulative   self              self     total
 time   seconds   seconds    calls  Ts/call  Ts/call  name
  0.00      0.00     0.00       14     0.00     0.00  data_start
  0.00      0.00     0.00        2     0.00     0.00  getProperties
  0.00      0.00     0.00        1     0.00     0.00  parseConfig
  0.00      0.00     0.00        1     0.00     0.00  printVersionAndCopyright
^L
                        Call graph

granularity: each sample hit covers 4 byte(s) no time propagated
index % time    self  children    called     name
                0.00    0.00      14/14          main [18]
[1]      0.0    0.00    0.00      14         data_start [1]
-----------------------------------------------
                0.00    0.00       2/2           parseConfig [3]
[2]      0.0    0.00    0.00       2         getProperties [2]
-----------------------------------------------
                0.00    0.00       1/1           main [18]
[3]      0.0    0.00    0.00       1         parseConfig [3]
                0.00    0.00       2/2           getProperties [2]
-----------------------------------------------
                0.00    0.00       1/1           main [18]
[4]      0.0    0.00    0.00       1         printVersionAndCopyright [4]
-----------------------------------------------
^L
Index by function name
   [1] data_start              [3] parseConfig (gmon-start.c)
   [2] getProperties (gmon-start.c) [4] printVersionAndCopyright (gmon-start.c)

 
I don't find where I have made the mistake. Can you help me? Thanks!
 
                                                                             yours,
                                                                                 yang fei
 
 
 
 
 




---------------------------------
Do You Yahoo!?
150貌煤MP3路猫驴帽拢卢麓酶煤麓鲁毛么碌卯
庐梅娄戮隆拢卢卤茅录隆垄录潞驴谩录
1G戮1000拢卢禄垄碌莽煤漏拢隆

_______________________________________________
SableVM-user mailing list
[email protected]
http://sablevm.org/lists/control/listinfo/sablevm-user
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.