mem: Trace the request master ID in the MemTraceProbe.
There's a spot for it in the packet trace protobuf, so we should fill it with something. Change-Id: I784feb3f668e1b20d67b6ef98d012bcf59b7bd40 Reviewed-on: https://soc-sim-internal-review.googlesource.com/3483 Reviewed-by: Rahul Thakur <rjthakur@google.com> Reviewed-on: https://gem5-review.googlesource.com/4781 Reviewed-by: Nikos Nikoleris <nikos.nikoleris@arm.com> Maintainer: Nikos Nikoleris <nikos.nikoleris@arm.com>
This commit is contained in:
@@ -105,6 +105,7 @@ MemTraceProbe::handleRequest(const ProbePoints::PacketInfo &pkt_info)
|
||||
pkt_msg.set_size(pkt_info.size);
|
||||
if (withPC && pkt_info.pc != 0)
|
||||
pkt_msg.set_pc(pkt_info.pc);
|
||||
pkt_msg.set_pkt_id(pkt_info.master);
|
||||
|
||||
traceStream->write(pkt_msg);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user