Maybe did you mean to use -ExecMicro to remove microops rather than -ExecMacro? E.g. one STP generates 4 microops as shown at: https://cirosantilli.com/linux-kernel-module-cheat/#gem5-execall-trace-format
On Wed, May 6, 2020 at 8:54 PM Øivind Harket Bakke via gem5-users <gem5-users@gem5.org> wrote: > > Hi all, > > I'm currently trying to export traces from a simulation, but I'm only > interested in the instructions that are being simulated. I compare the stats > file (# of simulated instructions) to the traces and they don't match in > size. I've tried to figure out which are the excessive lines in order filter > them out. So my question is as follows: How would I proceed to get traces of > the instructions only? > > Here's the command I run: > ./build/ARM/gem5.opt --debug-flags=Exec,-ExecMacro --debug-file=trace.out -d > configs/Forschung/arm/1G-500M/ configs/Forschung/arm/starter_se.py > --cpu="hpi_nL" --cpu-freq="1GHz" tests/test-progs/hello/bin/arm/linux/hello > > For clearification, the config file is a copy of the one in arm examples, > just adding a HPI model without L2 caches.(hpi_nL) > I've checked out the --debug-help option, but as far as I could tell, there > were no flags to remove from Exec or other flags to enable in order to reach > my goal. > > > Thanks in advance, > Øivind Harket Bakke > _______________________________________________ > gem5-users mailing list -- gem5-users@gem5.org > To unsubscribe send an email to gem5-users-le...@gem5.org > %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s _______________________________________________ gem5-users mailing list -- gem5-users@gem5.org To unsubscribe send an email to gem5-users-le...@gem5.org %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s