mirror of
https://github.com/apache/nuttx.git
synced 2026-05-19 03:03:37 +08:00
ee6e2ce149
The implementation of up_perf_*() is in a different static library in nuttx: Hardware: libarch.a Software: libdrivers.a (weak function) Since functions with weak attributes cannot be correctly replaced in multiple static libraries, this PR will use macros to replace whether the arch supports hardware perf events Signed-off-by: chao an <anchao@xiaomi.com>