mirror of
https://github.com/apache/nuttx.git
synced 2026-05-12 01:42:49 +08:00
bb562cf8bf
Enable ARCH_HAVE_PERF_EVENTS_USER_ACCESS capability for Cortex-R82 to allow userspace applications to directly access hardware performance counters. Move up_perf_gettime() outside kernel-only block so it can be called from userspace for efficient profiling. Signed-off-by: hujun5 <hujun5@xiaomi.com>