zephyr/arch/xtensa/core
Andy Ross 884f1bf39d arch/xtensa: Add hook for CONFIG_SCHED_THREAD_USAGE accounting in ISRs
Call into z_thread_usage_stop() before ISR entry to avoid including
interrupt handling totals in thread usage stats.

Note that this hook is after the register save and stack swap has
happened, so it still incldues some overhead.  But calling out from
the interrupted stack on Xtensa gets really, really hairy due to the
weird intermediate states we leverage (once we've saved enough context
to make a C call safely, we've lost the ability to use register
windows per the C ABI!).

Signed-off-by: Andy Ross <andrew.j.ross@intel.com>
2021-11-08 21:32:20 -05:00
..
include
offsets arch/xtensa: General cleanup, remove dead code 2021-03-08 11:14:27 -05:00
startup license: add missing SPDX headers 2021-02-11 08:05:16 -05:00
CMakeLists.txt arch/xtensa: Inline atomics 2021-03-08 11:14:27 -05:00
cpu_idle.c arch/xtensa: Add arch_cpu_idle() workarounds 2021-09-03 07:19:34 -04:00
crt1.S arch/xtensa: soc/intel_adsp: Rework MP code entry 2021-03-08 11:14:27 -05:00
debug_helpers_asm.S
fatal.c arch/xtensa: General cleanup, remove dead code 2021-03-08 11:14:27 -05:00
irq_manage.c arch/xtensa: General cleanup, remove dead code 2021-03-08 11:14:27 -05:00
irq_offload.c arch/xtensa: General cleanup, remove dead code 2021-03-08 11:14:27 -05:00
README-WINDOWS.rst arch/xtensa: Add an arch-internal README on register windows 2021-03-08 11:14:27 -05:00
tls.c
window_vectors.S arch/xtensa: General cleanup, remove dead code 2021-03-08 11:14:27 -05:00
xtensa_backtrace.c
xtensa_intgen.py Revert "xtensa: remove unused script" 2021-10-07 16:04:11 -04:00
xtensa_intgen.tmpl
xtensa-asm2-util.S arch/xtensa: Fix outgoing stack flush for dummy threads 2021-09-03 07:19:34 -04:00
xtensa-asm2.c arch/xtensa: Add hook for CONFIG_SCHED_THREAD_USAGE accounting in ISRs 2021-11-08 21:32:20 -05:00