Hi Radha,

Just to add on top of what Jason mentioned, you may use "--debug-end"
similar to how you use "--debug-start". In general, the help of your build
(e.g. gem5.opt --help) should provide more info for you.

Best,

On Fri, Jul 12, 2019 at 9:35 AM Jason Lowe-Power <[email protected]>
wrote:

> Hi Radha,
>
> No, there are not options to stop the debug printing. However, you *can*
> stop the simulation at a particular tick. SImilarly, there are not options
> to start/stop printing debug info at a particular PC. However, you can
> break out of the simulation loop after a certain number of instructions.
> From there, you may be able to control the debug traces from Python. I
> don't remember exactly how to do this, or if it's possible.
>
> Cheers,
> Jason
>
> On Fri, Jul 12, 2019 at 3:35 AM Venkatagiri, Radha <[email protected]>
> wrote:
>
>> Hi,
>>
>> I am running a large application and the trace files can get really
>> large. I see that there is a --debug-start flag where I can specify a tick
>> to start printing the debug statements. Is there an option to STOP printing
>> the debug statements after a given tick? Also, are there flags to start and
>> stop the debugger which can take the the program counter (PC) of the
>> instruction as an argument? I.e., start printing the debug statements
>> at/after a particular instruction is executed?
>>
>> Thanks,
>> Radha Venkatagiri.
>> _______________________________________________
>> gem5-users mailing list
>> [email protected]
>> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
>
> _______________________________________________
> gem5-users mailing list
> [email protected]
> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users



-- 
Pouya Fotouhi
PhD Candidate
Department of Electrical and Computer Engineering
University of California, Davis
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to