nuttx/arch/risc-v
chao an ee6e2ce149 arch/perf: add ARCH_HAVE_PERF_EVENTS to support hardware perf events
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>
2023-07-21 20:43:30 +08:00
..
include arch/risc-v/espressif: Add full GPIO support 2023-06-24 13:11:45 +08:00
src toolchain/gcc: fix linker error if enable STACK_CANARIES/LTO at same time 2023-07-21 01:13:34 +08:00
Kconfig arch/perf: add ARCH_HAVE_PERF_EVENTS to support hardware perf events 2023-07-21 20:43:30 +08:00