+44
−46
Loading
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>