Greetings fellow Gem5 users,
I'm just starting off with using Gem5 for one of my research projects.
I want to use the built in tracing capabilities of Gem5.
I used the 'Exec' compound flags and various other simple 'Exec__' flags
for this purpose.
However, I found that the size of the file is pretty huge(even after
zipping).
Because of that and since I am only interested in certain sections of the
application code, I planned to add a new Trace(Debug) flag.
This flag needs to only dump traces of branching instructions (with a
specific offset) and context switches etc.
However, after searching for the usage of DPRINTF("Exec__", I did not find
such a usage anywhere.
I did read that the way the trace and debug functionalities use the
--debug-flag is different.
Can somebody give me some guidance as to what could be done and which part
of the src/ I need to look at ?
And how exactly are the trace flags utilized to dump traces ?
Thanks and my apologies if the question seems confusing/ extremely
elementary.
Sud
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users