nuttx/arch/xtensa/src/common
Jukka Laitinen 56ad0d6837 arch: Flag all definitions of up_perf_* functions with CONFIG_ARCH_HAVE_PERF_EVENTS
Use the flag CONFIG_ARCH_HAVE_PERF_EVENTS to detect whether the architecture specific code
provides the up_perf_* functions. Now it is mixed with CONFIG_ARCH_PERF_EVENTS, which should
select just whether the perf events (perf_*) are enabled for the configuration.

- drivers/timers/arch_alarm.c: Don't compile the up_perf_* functions here if the
  CONFIG_ARCH_HAVE_PERF_EVENTS is defined
- arch/*/*_perf.c: Change CONFIG_ARCH_PERF_EVENTS -> CONFIG_ARCH_HAVE_PERF_EVENTS to
  select whether architecture specific up_perf_* functions are provided

Signed-off-by: Jukka Laitinen <jukka.laitinen@tii.ae>
2025-06-06 17:31:10 +08:00
..
espressif style: fix spelling in code comments and strings 2025-05-23 10:48:41 +08:00
CMakeLists.txt xtensa: inline up_switch_context 2024-12-05 20:32:45 +08:00
crt0.c arch/xtensa:add crt0 to initialize environment 2025-04-16 01:24:57 +08:00
Make.defs arch/xtensa:add crt0 to initialize environment 2025-04-16 01:24:57 +08:00
mpu.h arch/xtensa: migrate to SPDX identifier 2024-12-02 17:23:25 +08:00
xtensa.h arch/xtensa: Support __thread and thread_local keywords 2024-12-21 20:49:07 +08:00
xtensa_asm_utils.h arch/xtensa: migrate to SPDX identifier 2024-12-02 17:23:25 +08:00
xtensa_assert.c style: fix spelling in code comments and strings 2025-05-23 10:48:41 +08:00
xtensa_attr.h arch/xtensa: migrate to SPDX identifier 2024-12-02 17:23:25 +08:00
xtensa_backtrace.c style: fix spelling in code comments and strings 2025-05-23 10:48:41 +08:00
xtensa_cache.c comments: update text typo pre-empted to preempted 2025-05-12 15:01:37 +08:00
xtensa_checkstack.c arch/xtensa: migrate to SPDX identifier 2024-12-02 17:23:25 +08:00
xtensa_context.S arch/xtensa: Support __thread and thread_local keywords 2024-12-21 20:49:07 +08:00
xtensa_coproc.S arch/xtensa: migrate to SPDX identifier 2024-12-18 17:51:57 +08:00
xtensa_counter.h arch/xtensa: migrate to SPDX identifier 2024-12-02 17:23:25 +08:00
xtensa_cpenable.c arch/xtensa: migrate to SPDX identifier 2024-12-02 17:23:25 +08:00
xtensa_cpuinfo.c arch/xtensa: fix build errors related to data types on ESP32|S2|S3 2025-04-18 09:32:58 +08:00
xtensa_cpuint.S arch/xtensa: migrate to SPDX identifier 2024-12-18 17:51:57 +08:00
xtensa_createstack.c arch/xtensa: migrate to SPDX identifier 2024-12-02 17:23:25 +08:00
xtensa_debug.c arch/xtensa: fix build errors related to data types on ESP32|S2|S3 2025-04-18 09:32:58 +08:00
xtensa_dispatch_syscall.S xtensa: change write intset register to syscall instruction 2024-12-27 00:25:55 +08:00
xtensa_exit.c xtensa: syscall SYS_switch_context and SYS_restore_context use 0 para 2024-12-02 20:05:05 +08:00
xtensa_fpucmp.c arch/xtensa: migrate to SPDX identifier 2024-12-02 17:23:25 +08:00
xtensa_getintstack.c arch/xtensa: migrate to SPDX identifier 2024-12-02 17:23:25 +08:00
xtensa_hostfs.c arch/xtensa: migrate to SPDX identifier 2024-12-02 17:23:25 +08:00
xtensa_idle.c arch/xtensa: migrate to SPDX identifier 2024-12-02 17:23:25 +08:00
xtensa_initialize.c arch/xtensa: migrate to SPDX identifier 2024-12-02 17:23:25 +08:00
xtensa_initialstate.c Revert "arch/xtensa: set PS.EXCM initial value to 1 while new thread created" 2025-03-19 11:47:31 -03:00
xtensa_int_handlers.S arch/xtensa: initial support for debugpoint api 2025-03-13 09:51:03 +01:00
xtensa_irqdispatch.c arch: set (*running_task)->xcp.regs to NULL when exit from irq/exception 2025-01-22 23:52:17 +08:00
xtensa_loadstore.S arch/xtensa: migrate to SPDX identifier 2024-12-02 17:23:25 +08:00
xtensa_lowputs.c arch/xtensa: migrate to SPDX identifier 2024-12-02 17:23:25 +08:00
xtensa_macros.S arch/xtensa: migrate to SPDX identifier 2024-12-02 17:23:25 +08:00
xtensa_mdelay.c arch/xtensa: migrate to SPDX identifier 2024-12-02 17:23:25 +08:00
xtensa_mm.h arch/xtensa: migrate to SPDX identifier 2024-12-02 17:23:25 +08:00
xtensa_modifyreg8.c modifyreg[8|32]: use small lock in modifyreg[8|32] 2024-12-19 21:55:21 +08:00
xtensa_modifyreg16.c modifyreg16: use small lock in modifyreg16 2024-12-18 20:28:26 +08:00
xtensa_modifyreg32.c modifyreg[8|32]: use small lock in modifyreg[8|32] 2024-12-19 21:55:21 +08:00
xtensa_mpu.c arch/xtensa: migrate to SPDX identifier 2024-12-02 17:23:25 +08:00
xtensa_nputs.c arch/xtensa: migrate to SPDX identifier 2024-12-02 17:23:25 +08:00
xtensa_oneshot.c arch/xtensa: migrate to SPDX identifier 2024-12-02 17:23:25 +08:00
xtensa_panic.S arch/xtensa: migrate to SPDX identifier 2024-12-18 17:51:57 +08:00
xtensa_perf.c arch: Flag all definitions of up_perf_* functions with CONFIG_ARCH_HAVE_PERF_EVENTS 2025-06-06 17:31:10 +08:00
xtensa_pthread_start.c arch/xtensa: migrate to SPDX identifier 2024-12-02 17:23:25 +08:00
xtensa_registerdump.c arch: up_getusrsp change to inline and implement in irq.h 2025-01-06 23:03:05 +08:00
xtensa_releasestack.c arch/xtensa: migrate to SPDX identifier 2024-12-02 17:23:25 +08:00
xtensa_saveusercontext.c arch/xtensa: Support __thread and thread_local keywords 2024-12-21 20:49:07 +08:00
xtensa_schedsigaction.c Revert "Reduce the size of tcb by four bytes." 2025-05-27 16:30:35 +08:00
xtensa_sigdeliver.c Revert "Reduce the size of tcb by four bytes." 2025-05-27 16:30:35 +08:00
xtensa_signal_dispatch.c arch/xtensa: migrate to SPDX identifier 2024-12-02 17:23:25 +08:00
xtensa_signal_handler.S xtensa: change write intset register to syscall instruction 2024-12-27 00:25:55 +08:00
xtensa_simcall.S arch/xtensa: migrate to SPDX identifier 2024-12-02 17:23:25 +08:00
xtensa_smpcall.c arch/xtensa: migrate to SPDX identifier 2024-12-02 17:23:25 +08:00
xtensa_stackframe.c arch/xtensa: migrate to SPDX identifier 2024-12-02 17:23:25 +08:00
xtensa_swint.c Remove duplicate includes across multiple files 2025-01-09 23:30:23 +08:00
xtensa_task_start.c arch/xtensa: migrate to SPDX identifier 2024-12-02 17:23:25 +08:00
xtensa_tcbinfo.c xtensa: support coredump by register set alignment 2024-12-13 18:21:37 +08:00
xtensa_timer.h arch/xtensa: migrate to SPDX identifier 2024-12-18 17:51:57 +08:00
xtensa_tls.c arch/xtensa: Support __thread and thread_local keywords 2024-12-21 20:49:07 +08:00
xtensa_udelay.c arch/xtensa: migrate to SPDX identifier 2024-12-02 17:23:25 +08:00
xtensa_user_handler.S xtensa: change write intset register to syscall instruction 2024-12-27 00:25:55 +08:00
xtensa_usestack.c arch/xtensa: migrate to SPDX identifier 2024-12-02 17:23:25 +08:00
xtensa_vectors.S arch/xtensa: migrate to SPDX identifier 2024-12-18 17:51:57 +08:00
xtensa_window_vector.S arch/xtensa: migrate to SPDX identifier 2024-12-18 17:51:57 +08:00
xtensa_windowspill.S arch/xtensa: migrate to SPDX identifier 2024-12-18 17:51:57 +08:00