zephyr/arch
Martin Åberg 35264cc214 SPARC: add support for the tracing subsystem
This commit implements the architecture specific parts for the
Zephyr tracing subsystem on SPARC and LEON3. It does so by calling
sys_trace_isr_enter(), sys_trace_isr_exit() and sys_trace_idle().

The logic for the ISR tracing is:
1. switch to interrupt stack
2. *call sys_trace_isr_enter()* if CONFIG_TRACING_ISR
3. call the interrupt handler
4. *call sys_trace_isr_exit()* if CONFIG_TRACING_ISR
5. switch back to thread stack

Signed-off-by: Martin Åberg <martin.aberg@gaisler.com>
2020-11-18 10:31:26 +01:00
..
arc tracing: roll thread switch in/out into thread stats functions 2020-11-11 23:55:49 -05:00
arm arch: arm64: mmu: Rework defines 2020-11-17 19:04:25 -05:00
common timing: do not repeatedly do init()/start()/stop() 2020-11-11 23:55:49 -05:00
nios2 nios2: fix register saving during thread switch instrumentation 2020-11-11 23:55:49 -05:00
posix tracing: roll thread switch in/out into thread stats functions 2020-11-11 23:55:49 -05:00
riscv tracing: roll thread switch in/out into thread stats functions 2020-11-11 23:55:49 -05:00
sparc SPARC: add support for the tracing subsystem 2020-11-18 10:31:26 +01:00
x86 tracing: roll thread switch in/out into thread stats functions 2020-11-11 23:55:49 -05:00
xtensa tracing: roll thread switch in/out into thread stats functions 2020-11-11 23:55:49 -05:00
CMakeLists.txt cmake: fix include directories to work with out-of-tree arch 2020-08-05 08:06:07 -04:00
Kconfig sparc: add support for thread local storage 2020-11-13 14:53:55 -08:00