Call into z_thread_usage_stop() before ISR entry to avoid including interrupt handling totals in thread usage stats. This has to go into the assembly immediately before the callback-based dispatch. Note that the dispatch code was putting the vector number in RCX, which was unfortunate as that's a caller-saved register. Would be nice to clean this up in the future so it lives in a preserved register but it's mildly complicated to make work with the way we do the stack layout right now. Signed-off-by: Andy Ross <andrew.j.ross@intel.com> |
||
---|---|---|
.. | ||
arc | ||
arm | ||
arm64 | ||
common | ||
nios2 | ||
posix | ||
riscv | ||
sparc | ||
x86 | ||
xtensa | ||
CMakeLists.txt | ||
Kconfig |