Re: [gem5-users] Stopping the debugger at a given tick

2019-07-12 Thread Venkatagiri, Radha
Thank you!

Radha

On Jul 12, 2019 7:52 PM, Pouya Fotouhi  wrote:
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 
mailto:ja...@lowepower.com>> 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 
mailto:venkt...@illinois.edu>> 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
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
___
gem5-users mailing list
gem5-users@gem5.org
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
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Re: [gem5-users] Stopping the debugger at a given tick

2019-07-12 Thread Pouya Fotouhi
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 
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 
> 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
>> gem5-users@gem5.org
>> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
>
> ___
> gem5-users mailing list
> gem5-users@gem5.org
> 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
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Re: [gem5-users] Stopping the debugger at a given tick

2019-07-12 Thread Jason Lowe-Power
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 
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
> gem5-users@gem5.org
> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
___
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

[gem5-users] Stopping the debugger at a given tick

2019-07-12 Thread Venkatagiri, Radha
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
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users