arm: Add support for filtering in the PMU
authorAndreas Sandberg <andreas.sandberg@arm.com>
Tue, 23 Dec 2014 14:31:17 +0000 (09:31 -0500)
committerAndreas Sandberg <andreas.sandberg@arm.com>
Tue, 23 Dec 2014 14:31:17 +0000 (09:31 -0500)
commit070b4a81dbf9cc040ecb771e128993ae519cf80f
treed3f7f059aafb0dff016a0486166d71c34bc8abc2
parent809134a2b151f82c29593e64086393b31bc110b7
arm: Add support for filtering in the PMU

This patch adds support for filtering events in the PMU. In order to
do so, it updates the ISADevice base class to forward an ISA pointer
to ISA devices. This enables such devices to access the MiscReg file
to determine the current execution level.
src/arch/arm/isa.cc
src/arch/arm/isa_device.cc
src/arch/arm/isa_device.hh
src/arch/arm/pmu.cc
src/arch/arm/pmu.hh