Skip to content
Commit ced5053e authored by Keith Packard's avatar Keith Packard Committed by Carles Cufí
Browse files

subsys/tracing: Use z_current_get in switch_{in,out}



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: default avatarKeith Packard <keithp@keithp.com>
parent c0d95492
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment