Hi Jasmin, I've never done what you're trying to do, but I have a couple of ideas. First, does your binary have all of the debug symbols? If not, that could help.
Second, you may need to just take the addresses generated by gem5 (e.g., during a call) and correlate them to the addresses in your binary (e.g., via objdump). Somewhat related is a talk from a gem5 workshop a few years ago: http://gem5.org/wiki/images/9/9f/2012_12_01_gem5_workshop_Streamline.pdf Jason On Wed, Dec 14, 2016 at 2:12 PM Jasmin Jahic <[email protected]> wrote: > Hello, > > I have one question and I hope that you can help me. > > I am running gem5, on x86, in a full system mode. In cpu/exectrace, it is > possible to intercept traces and see system functions which are called > (do_execv, page_fault, etc.). However, I cannot see names of user > functions, when I execute some software. I have located some possible > options, such is function_trace in gem5. But so far no progress. > > Do you perhaps know, is it possible to see in exectrace what user > functions are executed? > > Best regards, > Jasmin JAHIC > _______________________________________________ > gem5-users mailing list > [email protected] > http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users -- Jason
_______________________________________________ gem5-users mailing list [email protected] http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
