cpu: Access inst events through ThreadContext instead of the CPU.
authorGabe Black <gabeblack@google.com>
Mon, 14 Oct 2019 22:31:26 +0000 (15:31 -0700)
committerGabe Black <gabeblack@google.com>
Fri, 25 Oct 2019 22:42:31 +0000 (22:42 +0000)
commita2a8dac5c2a26e91432415f409b55f04cff9c2e4
tree5cdd34c965e349953d361582923f6467fb209382
parentfd030fd9f5893e1ce198bf760ab4a7f2704d921b
cpu: Access inst events through ThreadContext instead of the CPU.

Also delete the CPU interface.

Change-Id: I62a6b0a9a303d672f4083bdedf393f9f6d07331f
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/22109
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Maintainer: Andreas Sandberg <andreas.sandberg@arm.com>
Tested-by: kokoro <noreply+kokoro@google.com>
src/base/remote_gdb.cc
src/cpu/base.cc
src/cpu/base.hh
src/cpu/kvm/base.cc
src/cpu/minor/execute.cc
src/cpu/o3/cpu.cc
src/cpu/o3/probe/elastic_trace.cc
src/cpu/simple/base.cc