From 1a27580e3bb113a0eca64a5075a00e45cc9cdd0d Mon Sep 17 00:00:00 2001 From: Javier Bueno Date: Tue, 26 Mar 2019 23:12:00 +0100 Subject: cpu: Added a probe to notify the address of retired instructions A probe is added to notify the address of each retired instruction. Change-Id: Iefc1b09d74b3aa0aa5773b17ba637bf51f5a59c9 Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/17632 Reviewed-by: Nikos Nikoleris Reviewed-by: Andreas Sandberg Maintainer: Andreas Sandberg --- src/cpu/o3/cpu.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/cpu/o3') diff --git a/src/cpu/o3/cpu.cc b/src/cpu/o3/cpu.cc index 965ab04e0..9da5b4359 100644 --- a/src/cpu/o3/cpu.cc +++ b/src/cpu/o3/cpu.cc @@ -1623,7 +1623,7 @@ FullO3CPU::instDone(ThreadID tid, const DynInstPtr &inst) thread[tid]->numOps++; committedOps[tid]++; - probeInstCommit(inst->staticInst); + probeInstCommit(inst->staticInst, inst->instAddr()); } template -- cgit v1.2.3