summaryrefslogtreecommitdiff
path: root/src/proto/packet.proto
diff options
context:
space:
mode:
authorAndreas Hansson <andreas.hansson@arm.com>2013-03-26 14:46:44 -0400
committerAndreas Hansson <andreas.hansson@arm.com>2013-03-26 14:46:44 -0400
commit7a57b1bce07030cd81069fc6978530eb7e83b45d (patch)
tree79702b29dd8a1337371d58d6fd6792480e852fdb /src/proto/packet.proto
parent08c1835bef5caa72dc931ed529e4ed3470989d4f (diff)
downloadgem5-7a57b1bce07030cd81069fc6978530eb7e83b45d.tar.xz
mem: Add optional request flags to the packet trace
This patch adds an optional flags field to the packet trace to encode the request flags that contain information about whether the request is (un)cacheable, instruction fetch, preftech etc.
Diffstat (limited to 'src/proto/packet.proto')
-rw-r--r--src/proto/packet.proto8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/proto/packet.proto b/src/proto/packet.proto
index bfeee6a44..28c21ec40 100644
--- a/src/proto/packet.proto
+++ b/src/proto/packet.proto
@@ -1,4 +1,4 @@
-// Copyright (c) 2012 ARM Limited
+// Copyright (c) 2012-2013 ARM Limited
// All rights reserved
//
// The license below extends only to copyright in the software and shall
@@ -49,10 +49,14 @@ message PacketHeader {
// Each packet in the trace contains a tick (which can be translated
// to absolute time using the frequency in the header), the command,
-// the address, and the size in bytes
+// the address, and the size in bytes. The optional flags are used to
+// capture the request flags that convey information about
+// cacheability, if the packet is an instruction fetch or prefetch or
+// not, etc.
message Packet {
required uint64 tick = 1;
required uint32 cmd = 2;
required uint64 addr = 3;
required uint32 size = 4;
+ optional uint32 flags = 5;
}