zephyr/kernel
Anas Nashif ce119f5d07 tracing: do not mark thread as switched_out in case of no reschedule
If z_get_next_switch_handle determines no reschdule is needed, do not
mark thread as switched_out in set_curent() where new and old thread are
the same.

See zephyrproject-rtos/zephyr#88596 for more details.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2025-07-08 18:34:11 -05:00
..
include kernel: move z_sched_lock inside k_sched_lock 2025-07-08 13:38:48 -05:00
paging
atomic_c.c
banner.c
busy_wait.c
CMakeLists.txt
compiler_stack_protect.c
condvar.c
cpu_mask.c
device.c device: Provide de-init device function only if requested 2025-06-03 17:08:50 +02:00
dynamic_disabled.c
dynamic.c
errno.c
events.c
fatal.c
float.c
futex.c
idle.c
init.c init: Make entry init-function less and introduce service objects 2025-06-27 14:13:58 +02:00
ipi.c
irq_offload.c
Kconfig wifi: nrf70: Fix system work queue stack size override 2025-07-01 19:04:00 -05:00
Kconfig.device device: Provide de-init device function only if requested 2025-06-03 17:08:50 +02:00
Kconfig.init
Kconfig.mem_domain
Kconfig.obj_core
Kconfig.smp
Kconfig.vm
kheap.c kernel: add k_heap_array_get 2025-06-18 07:40:55 +02:00
mailbox.c
main_weak.c
mem_domain.c
mem_slab.c kernel: memslab: Prevent pointer underflow in free list init 2025-06-26 14:07:03 +02:00
mempool.c
mmu.c kernel: mmu: Added a cast to avoid format warnings when logging 2025-06-04 17:03:13 +02:00
msg_q.c
mutex.c
nothread.c
obj_core.c
pipe.c
pipes.c
poll.c
priority_queues.c
queue.c
sched.c tracing: do not mark thread as switched_out in case of no reschedule 2025-07-08 18:34:11 -05:00
sem.c
smp.c
spinlock_validate.c
stack.c
system_work_q.c kernel: workq: introduce work timeout: 2025-06-06 08:42:53 +02:00
thread_monitor.c
thread.c
timeout.c
timer.c
timeslicing.c
usage.c
userspace_handler.c
userspace.c kernel: userspace: Fix memory leak in dynamic_object_create 2025-05-20 00:26:30 +01:00
version.c
work.c kernel: workq: introduce work timeout: 2025-06-06 08:42:53 +02:00
xip.c