diff options
author | Aaron Lindsay <aaron@os.amperecomputing.com> | 2019-01-21 10:23:14 +0000 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2019-01-21 10:38:56 +0000 |
commit | b2e2372511946fae86fbb8709edec7a41c6f3167 (patch) | |
tree | 117ff737699cc475bad13f2617cee1f6f2eaefd9 /hw/i2c | |
parent | 5ecdd3e47cadae83a62dc92b472f1fe163b56f59 (diff) | |
download | qemu-b2e2372511946fae86fbb8709edec7a41c6f3167.zip qemu-b2e2372511946fae86fbb8709edec7a41c6f3167.tar.gz qemu-b2e2372511946fae86fbb8709edec7a41c6f3167.tar.bz2 |
target/arm: PMU: Add instruction and cycle events
The instruction event is only enabled when icount is used, cycles are
always supported. Always defining get_cycle_count (but altering its
behavior depending on CONFIG_USER_ONLY) allows us to remove some
CONFIG_USER_ONLY #defines throughout the rest of the code.
Signed-off-by: Aaron Lindsay <alindsay@codeaurora.org>
Signed-off-by: Aaron Lindsay <aaron@os.amperecomputing.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 20181211151945.29137-12-aaron@os.amperecomputing.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'hw/i2c')
0 files changed, 0 insertions, 0 deletions