Hi!

I have been trying to figure how to trace all the function calls my application 
creates when it is running on gem5 in SE mode. I am using the example se.py 
config file and using gem5.opt with --debug-flag=Stack,StackDist. When I run 
gem5 with these parameters the output gives me the stack information at tick 0 
and then at the tick when my application's main is running it does not give any 
stack information. 

I am looking to print the function calls that happen when I initiate a fopen() 
or fread() or fwrite() or any other file operations. I want to see what 
functions are called by each of these until the point where it initiates a 
syscall and hands over the syscall execution to the kernel or the 
syscall_emul.hh/cc file (ex: fopen() -> foo() -> bar() -> bar2() ... -> 
do_syscall_64()).

Thank you.
_______________________________________________
gem5-dev mailing list -- gem5-dev@gem5.org
To unsubscribe send an email to gem5-dev-le...@gem5.org
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s

Reply via email to