Skip to content
Commit b88559a3 authored by Jennifer Williams's avatar Jennifer Williams Committed by Johan Hedberg
Browse files

sample: subsys: shell: shell_module: add config for timing at boot



Use of CONFIG_THREAD_RUNTIME_STATS was added to this sample, but
caused issue because the call to z_thread_mark_switched_in()
is using k_cycle_get_32() before the timer is initialized.
Enable CONFIG_THREAD_RUNTIME_STATS_USE_TIMING_FUNCTIONS=y to
select hidden config CONFIG_TIMING_FUNCTIONS_NEED_AT_BOOT,
which calls to initialize the timer needed at boot for thread
runtime stats configuration.

Fixes #33275

Signed-off-by: default avatarJennifer Williams <jennifer.m.williams@intel.com>
parent 29ca4aab
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment