Hi Setu,

It might depend on the ISA you are using.
You can generate an instruction trace by running gem5 with --debug-flags=Exec 
option and this is valid for all ISAs. If you are simulating an Arm CPU, an 
instruction trace in the Tarmac format can also be generated.

Kind Regards

Giacomo

From: Setu Gupta via gem5-users <gem5-users@gem5.org>
Date: Tuesday, 26 September 2023 at 19:55
To: gem5-users@gem5.org <gem5-users@gem5.org>
Cc: Setu Gupta <s...@tamu.edu>
Subject: [gem5-users] How to use Gem5 to collect instruction traces
Hi

I want to use Gem5 to generate instruction traces which I then want to use in 
other simulators. How can I generate traces using Gem5, and what format are the 
traces in?

Thanks and Regards
Setu
IMPORTANT NOTICE: The contents of this email and any attachments are 
confidential and may also be privileged. If you are not the intended recipient, 
please notify the sender immediately and do not disclose the contents to any 
other person, use it for any purpose, or store or copy the information in any 
medium. Thank you.
_______________________________________________
gem5-users mailing list -- gem5-users@gem5.org
To unsubscribe send an email to gem5-users-le...@gem5.org

Reply via email to