diff options
author | Gabe Black <gabeblack@google.com> | 2017-09-01 04:24:06 -0700 |
---|---|---|
committer | Gabe Black <gabeblack@google.com> | 2017-09-25 21:13:42 +0000 |
commit | 9362ead7d27f56185cf02b8bc8979171f2cf4349 (patch) | |
tree | b2225cfa6002ebf3a164a485bd4eecffd11f5c2d /src/mem | |
parent | 70acf7f19863d769f8deb654d77f1087a84c30cc (diff) | |
download | gem5-9362ead7d27f56185cf02b8bc8979171f2cf4349.tar.xz |
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>
Diffstat (limited to 'src/mem')
-rw-r--r-- | src/mem/probes/mem_trace.cc | 1 |
1 files changed, 1 insertions, 0 deletions
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); } |