mem: Add tracing support in the communication monitor
authorAndreas Hansson <andreas.hansson@arm.com>
Mon, 7 Jan 2013 18:05:37 +0000 (13:05 -0500)
committerAndreas Hansson <andreas.hansson@arm.com>
Mon, 7 Jan 2013 18:05:37 +0000 (13:05 -0500)
commitf456c7983ded455b006d25a9c5e17401f6c22dca
tree622f60618aa3158e8f4d757e3dcc3536a5bb3057
parent11ab30fa5a4f56e4f7ea3b5b51e529bc246d1d35
mem: Add tracing support in the communication monitor

This patch adds packet tracing to the communication monitor using a
protobuf as the mechanism for creating the trace.

If no file is specified, then the tracing is disabled. If a file is
specified, then for every packet that is successfully sent, a protobuf
message is serialized to the file.
src/base/output.cc
src/base/output.hh
src/mem/CommMonitor.py
src/mem/SConscript
src/mem/comm_monitor.cc
src/mem/comm_monitor.hh
src/proto/SConscript
src/proto/packet.proto [new file with mode: 0644]
tests/configs/tgen-simple-mem.py