Hi Mohammad,

There isn't a set format for most of the debug flags. However, you
should be able to quickly grep the code to find all uses of a
particular flag. For instance, `grep CachePort src/ -r` will show you
the all of the DPRINTF statements for the cache port.

BTW, if you're trying to use debug flags to get a trace, it's going to
work better to use the tracing built into gem5. The CommMonitor might
be what you're looking for if you're trying to trace the CachePort
flag. Generally, the debug flags are only useful for *debugging* not
for tracing.

Cheers,
Jason

On Tue, Dec 17, 2019 at 5:35 PM Mohammad Ahmadi <[email protected]> wrote:
>
> Hi all,
>
> I am using debug flags to generate output traces. How can I know the exact 
> format of the output produced by each specific flag? I know that in each line 
> first the current tick and the name of the simobject is printed, but I do not 
> know the exact format for a specific, say CachePort, flag.
>
> Thank you very much
>
> Best,
> Mohammad Ahmadi
> _______________________________________________
> 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

Reply via email to