Generating gprof report

Chi-Young Ku chi at
Thu Oct 18 15:50:27 CEST 2012


    I used the "--enable_profile" option to configure my MonetDB and ran "make clean; make; make install".

    I, then, started my MonetDB instance and ran the following query:

        select count(*) from lineitem where l_partkey > 9000;

    Lastly, I quit from the "mclient" session and issued "monetdbd stop ...".  

    I observed that there are several gmon.out files in different directories in my top build directory.

    Therefore, I issued the following gprof command:

        gprof /usr/local/bin/mserver5 ./sql/backends/monet5/gmon.out ./gdk/gmon.out  

            ./monetdb5/modules/kernel/gmon.out ./monetdb5/modules/mal/gmon.out ./monetdb5/scheduler/gmon.out 
./monetdb5/optimizer/gmon.out ./monetdb5/mal/gmon.out 

    However, the output of the above command did not show any calling sequence containing the execution of MAL instructions.

    Did I miss anything?

    Thanks in advance.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>
-------------- next part --------------
developers-list mailing list
developers-list at

More information about the developers-list mailing list