From: Gabe Black Date: Fri, 1 Sep 2017 11:24:06 +0000 (-0700) Subject: mem: Trace the request master ID in the MemTraceProbe. X-Git-Tag: v19.0.0.0~2630 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9362ead7d27f56185cf02b8bc8979171f2cf4349;p=gem5.git 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 Reviewed-on: https://gem5-review.googlesource.com/4781 Reviewed-by: Nikos Nikoleris Maintainer: Nikos Nikoleris --- diff --git a/src/mem/probes/mem_trace.cc b/src/mem/probes/mem_trace.cc index 97b97daae..465c10004 100644 --- a/src/mem/probes/mem_trace.cc +++ b/src/mem/probes/mem_trace.cc @@ -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); }