The thread switching tracing hooks are called in the middle of swapping, before z_thread_entry has a chance to set the z_tls_current value, so they cannot use k_current_get. Switch them to z_current_get instead. Signed-off-by: Keith Packard <keithp@keithp.com> |
||
|---|---|---|
| .. | ||
| ctf | ||
| include | ||
| sysview | ||
| test | ||
| user | ||
| CMakeLists.txt | ||
| Kconfig | ||
| tracing_backend_posix.c | ||
| tracing_backend_ram.c | ||
| tracing_backend_uart.c | ||
| tracing_backend_usb.c | ||
| tracing_buffer.c | ||
| tracing_core.c | ||
| tracing_format_async.c | ||
| tracing_format_common.c | ||
| tracing_format_sync.c | ||
| tracing_none.c | ||
| tracing_tracking.c | ||