From 9362ead7d27f56185cf02b8bc8979171f2cf4349 Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Fri, 1 Sep 2017 04:24:06 -0700 Subject: [PATCH] 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 --- src/mem/probes/mem_trace.cc | 1 + 1 file changed, 1 insertion(+) 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); } -- 2.30.2