summaryrefslogtreecommitdiff
path: root/src/sim/probe/mem.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/sim/probe/mem.hh')
-rw-r--r--src/sim/probe/mem.hh4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/sim/probe/mem.hh b/src/sim/probe/mem.hh
index f17815bab..2767f9338 100644
--- a/src/sim/probe/mem.hh
+++ b/src/sim/probe/mem.hh
@@ -57,13 +57,15 @@ struct PacketInfo {
uint32_t size;
Request::FlagsType flags;
Addr pc;
+ MasterID master;
explicit PacketInfo(const PacketPtr& pkt) :
cmd(pkt->cmd),
addr(pkt->getAddr()),
size(pkt->getSize()),
flags(pkt->req->getFlags()),
- pc(pkt->req->hasPC() ? pkt->req->getPC() : 0) { }
+ pc(pkt->req->hasPC() ? pkt->req->getPC() : 0),
+ master(pkt->req->masterId()) { }
};
/**