Hi,

I am using the CommMonitor component to look at a trace of memory address
references between the cpu/cache. I seem to have connected it properly, as
in my output directory I see a protobuf binary file generated for each
monitor: e.g.  monitor_0.ptrc,  monitor_1.ptrc, etc.

This file generated is a protobuf binary file, but its not clear how I am
supposed to use protoc to read in/print out the contents. It looks like I
have to specify message format from the packet.proto file located in
/src/proto/, but when using the following commandline:

$ protoc --encode=packet.proto monitor_0.ptrc

monitor_0.ptrc:2:48983: Invalid control characters encountered in text.
monitor_0.ptrc:2:48991: Invalid control characters encountered in text.
monitor_0.ptrc:2:48993: Invalid control characters encountered in text.
monitor_0.ptrc:2:49002: Invalid control characters encountered in text.

I am guessing the format of the text should look like the contents
in: tests/quick/se/70.tgen/tgen-simple-dram.cfg

Can someone indicate the proper way to do this? I don't see any
documentation/info on the wiki about TrafficGen/CommMonitor.

Thanks,

Malek
_______________________________________________
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to