commit | 95cec04c7c00535065512256b44c16bc3a9c82af | [log] [tgz] |
---|---|---|
author | Keith Packard <keithp@keithp.com> | Tue Oct 18 15:38:21 2022 -0700 |
committer | Carles CufĂ <carles.cufi@nordicsemi.no> | Wed Oct 19 16:00:00 2022 +0200 |
tree | 9e0137722071ff600c73e21c69ce2cb013597734 | |
parent | b02d252e4d824a74ab64215d9bc59413e3bc19d9 [diff] |
kernel: When TLS, skip switched_out tracing hook from dummy thread The dummy thread doesn't include a TLS area, so any thread local variables will fail to work if used in the switched_out tracing hook. Skip the hook in this case, as it's not really accurate anyways; the dummy thread is only used to set context for the initial switch for each core. Signed-off-by: Keith Packard <keithp@keithp.com>