Re: [gem5-users] Debug prints in FS mode using script

2019-04-20 Thread ABHISHEK BHATTACHARYYA
Thanks, Jason. From: gem5-users on behalf of Jason Lowe-Power Sent: Monday, April 15, 2019 6:35 PM To: gem5 users mailing list Subject: Re: [gem5-users] Debug prints in FS mode using script That's ticks. You would have to divide by the cycle time to get cycles

Re: [gem5-users] Debug prints in FS mode using script

2019-04-15 Thread Jason Lowe-Power
* gem5-users on behalf of Jason > Lowe-Power > *Sent:* Monday, April 15, 2019 11:12 AM > *To:* gem5 users mailing list > *Subject:* Re: [gem5-users] Debug prints in FS mode using script > > Hi Abhishek, > > Check --debug-help. You probably want --debug-file= and you may >

Re: [gem5-users] Debug prints in FS mode using script

2019-04-15 Thread ABHISHEK BHATTACHARYYA
: MESI_Two_Level-L1cache.sm:845: Load complete address: 0x7 Regards, Abhishek Bhattcharyya From: gem5-users on behalf of Jason Lowe-Power Sent: Monday, April 15, 2019 11:12 AM To: gem5 users mailing list Subject: Re: [gem5-users] Debug prints in FS mode using

Re: [gem5-users] Debug prints in FS mode using script

2019-04-15 Thread Jason Lowe-Power
Hi Abhishek, Check --debug-help. You probably want --debug-file= and you may want --debug-start= when debugging Ruby protocols in FS mode. I've also found it useful to use a named pipe for the debug file and pipe it though `tail` to get only the last n lines (where n is usually megabytes to

[gem5-users] Debug prints in FS mode using script

2019-04-15 Thread ABHISHEK BHATTACHARYYA
Hi I am running a full system simulation of gem5 with parsec benchmarks using an rcs script. I have added new debug prints to the gem5 code to trace RubySlicc request and response actions. How do I redirect the debug prints to a new file and collect the trace in this case? Thanks, Abhishek