Hi Majid,
I think you can take a look at the panic_if(...); you can add DPRINTF_IF in
a similar way.
Best,
Jiayi
On Sat, Feb 12, 2022 at 5:41 AM Majid Jalili via gem5-users <
gem5-users@gem5.org> wrote:
> Hi,
>
> Is there any way or trick to make a debug flag conditional? For example,
> --Debug
Hi Majid,
I'm not sure if there is a way to do it from the command line in an efficient
manner, but I've just been adding the debug print statements inside if
statements, for instance in your case you could move the debug's print
statements for 'Cache' inside an if statement that checks for the