Forum Discussion
Altera_Forum
Honored Contributor
13 years agoHello dsl,
Thanks for taking the time to reply. --- Quote Start --- IIRC the gmon.out file is usually written from a function registered with libc using at_exit() - so you probably need to call exit() somewhere in order to get those functions called (assuming that uCOSII will do it). --- Quote End --- I suppose what I can do here is just go ahead and hard card an exit function call into my source after I have executed the behavior I want to monitor (since ctrl-c does not initiate the dumps). I will update this thread when I try this. --- Quote Start --- Alternatively you may be able to directkly call the 'dump all the tables' command. --- Quote End --- I am not familiar with the 'dump all the tables' command. Is this specific to gprof? Can you post a link so that I can get more information? Again, thanks for your reply and I'll update this thread when I run my test. -JQ