zephyr/kernel
Krzysztof Chruściński 28b4bab01c kernel: fatal: Fix NO_OPTIMIZATIONS build
When logging is on and optimization and multithreading is off then
build fails to link because unoptimized compiler/linker seems to not
look beyond the function and it fails trying to link k_thread_name_get.
Reworking the code to make it known to the compiler without optimization
that k_thread_name_get is not needed and not logging current thread
name in that case.

Signed-off-by: Krzysztof Chruściński <krzysztof.chruscinski@nordicsemi.no>
2024-08-07 19:03:40 -04:00
..
include kernel: Remove z_sched_abort() prototype 2024-07-27 10:47:41 +03:00
paging
CMakeLists.txt lib c/cpp: Move .ctor .init_array handling from C++ to kernel 2024-06-25 19:14:37 -04:00
Kconfig kconfig: replace known integer constants with variables 2024-07-27 20:49:15 +03:00
Kconfig.device libc: common: Fix init hang issue 2024-06-26 13:07:02 -04:00
Kconfig.mem_domain kconfig: replace known integer constants with variables 2024-07-27 20:49:15 +03:00
Kconfig.obj_core
Kconfig.smp kernel: fix typo 2024-07-08 15:51:37 +02:00
Kconfig.vm
atomic_c.c
banner.c
busy_wait.c
compiler_stack_protect.c
condvar.c
cpu_mask.c
device.c device: remove const qualifier from node label copy 2024-07-27 15:09:10 +03:00
dynamic.c kernel: fix typo 2024-07-08 15:51:37 +02:00
dynamic_disabled.c
errno.c
events.c
fatal.c kernel: fatal: Fix NO_OPTIMIZATIONS build 2024-08-07 19:03:40 -04:00
float.c
futex.c
idle.c
init.c lib c/cpp: Move .ctor .init_array handling from C++ to kernel 2024-06-25 19:14:37 -04:00
init_static.c lib c/cpp: Move .ctor .init_array handling from C++ to kernel 2024-06-25 19:14:37 -04:00
ipi.c
irq_offload.c
kheap.c
mailbox.c
main_weak.c
mem_domain.c
mem_slab.c
mempool.c
mmu.c kernel: fix typo 2024-07-08 15:51:37 +02:00
msg_q.c
mutex.c
nothread.c
obj_core.c kernel: reduce `k_spin_unlock` calls using `if-else if-else` structure 2024-07-27 20:48:07 +03:00
pipes.c
poll.c
priority_queues.c
queue.c
sched.c kernel: Remove k_thread_priority_set() restriction 2024-08-02 03:29:55 -04:00
sem.c
smp.c
spinlock_validate.c
stack.c
system_work_q.c
thread.c kernel: thread: Add k_thread_runtime_stats_cpu_get() 2024-07-30 18:25:40 +01:00
thread_monitor.c kernel: thread: Add k_thread_foreach_filter_by_cpu() and unlocked version 2024-07-30 18:25:40 +01:00
timeout.c kernel: fix typo 2024-07-08 15:51:37 +02:00
timer.c
timeslicing.c
usage.c
userspace.c everywhere: replace double words 2024-06-25 06:05:35 -04:00
userspace_handler.c
version.c
work.c
xip.c