Hello, Yes, if I'm trying to debug the data values in the protocol I often use the RubyNetwork debug flag. It's *a lot* more trace to look at, but it shows you the data as it's in-flight in the network which can help you pinpoint the problem.
Also, see https://gem5.googlesource.com/public/gem5/+/master/src/mem/ruby/SConscript#47 for a full list. Cheers, Jason On Wed, Dec 19, 2018 at 4:45 AM Ric inzo <[email protected]> wrote: > Dear all, > I'm using the ruby random test script to generate random tests ( > https://github.com/gem5/gem5/blob/master/configs/example/ruby_random_test.py). > I used the ProtocolTrace debug flag: > ./build/X86/gem5.opt --debug-flag=ProtocolTrace --debug-file=mytest.out > ./configs/example/ruby_random_test.py --num-cpu=4. > Here is a snippet of traces i got: > > ------------------------------------------------------------------------------------------------ > 1 1 Seq Begin > [0x3fec, > line 0x3fc0] ST > 5 1 L1Cache Store I>IM [0x3fc0, > line 0x3fc0] > 11 0 Seq Begin > [0x58ec, > line 0x58c0] ST > 12 0 L1Cache Store I>IM [0x58c0, > line 0x58c0] > 20 0 Directory GETX I>IM [0x3fc0, > line 0x3fc0] > 21 0 Seq Begin > [0x400, > line 0x400] ST > 31 0 Seq Begin > [0x53ec, > line 0x53c0] ST > 41 3 Seq Begin > [0x40ec, > line 0x40c0] ST > 51 1 Seq Begin > [0x34ec, > line 0x34c0] ST > 55 1 L1Cache Store I>IM [0x34c0, > line 0x34c0] > > ---------------------------------------------------------------------------------------------------- > I'm trying to get values (data) written by the store (or read by load) > actions and addresses of this actions. Is there any other debug flag that I > should combine with the ProtocolTrace flag in in order to get more > information in the traces. > Thank you. > > ᐧ > _______________________________________________ > 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
