This is an automated email from the ASF dual-hosted git repository.

xiaoxiang781216 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git


The following commit(s) were added to refs/heads/master by this push:
     new 3e66f0a9b4c arm64: enable perf events for FVP protected builds
3e66f0a9b4c is described below

commit 3e66f0a9b4c010947efbb8befa4a0d087e43207e
Author: hujun5 <[email protected]>
AuthorDate: Wed Jun 25 10:29:02 2025 +0800

    arm64: enable perf events for FVP protected builds
    
    Enable CONFIG_ARCH_PERF_EVENTS in the protected and SMP protected FVP 
ARMv8-R configurations so clock_perf.c can resolve up_perf_gettime().
    
    Signed-off-by: hujun5 <[email protected]>
---
 boards/arm64/fvp-v8r/fvp-armv8r/configs/pnsh/defconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/boards/arm64/fvp-v8r/fvp-armv8r/configs/pnsh/defconfig 
b/boards/arm64/fvp-v8r/fvp-armv8r/configs/pnsh/defconfig
index 3a788a27b33..ac09fd989db 100644
--- a/boards/arm64/fvp-v8r/fvp-armv8r/configs/pnsh/defconfig
+++ b/boards/arm64/fvp-v8r/fvp-armv8r/configs/pnsh/defconfig
@@ -17,6 +17,7 @@ CONFIG_ARCH_EARLY_PRINT=y
 CONFIG_ARCH_INTERRUPTSTACK=4096
 CONFIG_ARCH_KERNEL_STACK=y
 CONFIG_ARCH_KERNEL_STACKSIZE=8192
+CONFIG_ARCH_PERF_EVENTS=y
 CONFIG_ARCH_USE_MPU=y
 CONFIG_ARM64_STRING_FUNCTION=y
 CONFIG_BUILD_PROTECTED=y

Reply via email to