sim: Add faulting flag to instruction tracing interface
authorMichiel W. van Tol <Michiel.VanTol@arm.com>
Tue, 19 May 2020 17:41:11 +0000 (18:41 +0100)
committerGiacomo Travaglini <giacomo.travaglini@arm.com>
Mon, 22 Jun 2020 12:15:39 +0000 (12:15 +0000)
commit3853d785943cf93125ba296b64e24247d2f43e64
tree0af418ca36280e491a3d3c66f1c637b671f26d67
parenta1b6471fe5a3ea1cd2504afa3aa2419375137d77
sim: Add faulting flag to instruction tracing interface

This patch adds a faulting flag to InstRecord.
This allows tracers to identify that the traced instruction has
faulted, when ExecFaulting is enabled. It can be set with
InstRecord::setFaulting() and read with Instrecord::getFaulting().

Change-Id: I390392d59de930533eab101e96dc4d3c76500748
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/30134
Reviewed-by: Jason Lowe-Power <power.jg@gmail.com>
Maintainer: Jason Lowe-Power <power.jg@gmail.com>
Tested-by: kokoro <noreply+kokoro@google.com>
src/sim/insttracer.hh