From 54519fd51f739c3a37c4ad712b86a353eabbbfec Mon Sep 17 00:00:00 2001 From: Radhika Jagtap Date: Mon, 7 Dec 2015 16:42:16 -0600 Subject: cpu: Support virtual addr in elastic traces This patch adds support to optionally capture the virtual address and asid for load/store instructions in the elastic traces. If they are present in the traces, Trace CPU will set those fields of the request during replay. --- src/proto/inst_dep_record.proto | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/proto') diff --git a/src/proto/inst_dep_record.proto b/src/proto/inst_dep_record.proto index 98c070efc..f89e51d81 100644 --- a/src/proto/inst_dep_record.proto +++ b/src/proto/inst_dep_record.proto @@ -69,7 +69,7 @@ message InstDepRecord { } required uint64 seq_num = 1; required RecordType type = 2 [default = INVALID]; - optional uint64 addr = 3; + optional uint64 p_addr = 3; optional uint32 size = 4; optional uint32 flags = 5; repeated uint64 rob_dep = 6; @@ -77,4 +77,6 @@ message InstDepRecord { repeated uint64 reg_dep = 8; optional uint32 weight = 9; optional uint64 pc = 10; + optional uint64 v_addr = 11; + optional uint32 asid = 12; } \ No newline at end of file -- cgit v1.2.3