Gabe Black has uploaded this change for review. ( https://gem5-review.googlesource.com/5003

Change subject: misc: Make decode_packet_trace.py print the new master ID fields.
......................................................................

misc: Make decode_packet_trace.py print the new master ID fields.

Those fields are "repeated" which means they can appear zero times, which
they will in older style traces.

Change-Id: Ib6ff4aab521332cf1405549d0d6e922c51c12f32
---
M util/decode_packet_trace.py
1 file changed, 3 insertions(+), 0 deletions(-)



diff --git a/util/decode_packet_trace.py b/util/decode_packet_trace.py
index 34a0d8b..c21a150 100755
--- a/util/decode_packet_trace.py
+++ b/util/decode_packet_trace.py
@@ -105,6 +105,9 @@
     print "Object id:", header.obj_id
     print "Tick frequency:", header.tick_freq

+    for id_string in header.id_strings:
+        print 'Master id %d: %s' % (id_string.key, id_string.value)
+
     print "Parsing packets"

     num_packets = 0

--
To view, visit https://gem5-review.googlesource.com/5003
To unsubscribe, or for help writing mail filters, visit https://gem5-review.googlesource.com/settings

Gerrit-Project: public/gem5
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib6ff4aab521332cf1405549d0d6e922c51c12f32
Gerrit-Change-Number: 5003
Gerrit-PatchSet: 1
Gerrit-Owner: Gabe Black <[email protected]>
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev

Reply via email to