gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

Beginners > gmon.out - how to see the profile data?

#16020 - wbb - Fri Feb 06, 2004 12:07 pm

Hi

I have read various threads about profiling and managed to tell VBA to write gmon.out via monstart / moncleanup functions.

But now how to see the profile data? When I enter "gprof gmon.out" it prints "gmon.out is not a.out format". What is wrong? Has anyone a pointer where I can read more or knows what to do? Thx.


Bastian

#16091 - pais - Sat Feb 07, 2004 10:17 pm

wbb wrote:

When I enter "gprof gmon.out" it prints "gmon.out is not a.out format". What is wrong?


Double-check the gprof documentation. Your first parameter should be the binary you are profiling.