summaryrefslogtreecommitdiff
path: root/src/mem/packet.hh
diff options
context:
space:
mode:
authorAndreas Hansson <andreas.hansson@armm.com>2013-02-19 05:56:05 -0500
committerAndreas Hansson <andreas.hansson@armm.com>2013-02-19 05:56:05 -0500
commit9947923c605bdbd864aebaa47e6a062390288652 (patch)
tree6bc512ceb4d6f0115dd6cd58af5bff2d51e198bf /src/mem/packet.hh
parent21aa950318c3f754797e1aab3533f749559e7e87 (diff)
downloadgem5-9947923c605bdbd864aebaa47e6a062390288652.tar.xz
mem: Ensure trace captures packet fields before forwarding
This patch fixes a bug in the CommMonitor caused by the packet being modified before it is captured in the trace. By recording the fields before passing the packet on, and then putting these values in the trace we ensure that even if the packet is modified the trace captures what the CommMonitor saw.
Diffstat (limited to 'src/mem/packet.hh')
0 files changed, 0 insertions, 0 deletions