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 kernel: Unify .ctors and .init_array handling 2025-04-16 20:36:27 +02:00
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 kernel: events: prevent k_event_init() from being called in an ISR 2025-05-02 01:16:46 +02:00
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 kernel: mempool: decouple simple alloc from aligned_alloc 2025-04-01 22:13:04 +02:00
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 kernel: Add Z_IS_TIMEOUT_RELATIVE() macro 2025-03-17 02:21:02 +01:00
obj_core.c
pipe.c kernel/pipe: fix poll support 2025-04-21 07:45:35 +02:00
pipes.c
poll.c kernel/pipe: fix poll support 2025-04-21 07:45:35 +02:00
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 kernel: thread_monitor: reafactor and remove duplicate code 2025-04-04 07:42:20 +02:00
thread.c
timeout.c kernel: timeout: z_add_timeout to return expiration tick 2025-04-15 19:09:33 +02:00
timer.c kernel: Add Z_IS_TIMEOUT_RELATIVE() macro 2025-03-17 02:21:02 +01:00
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 arch: common: Make nocache region loadable 2025-04-21 12:42:19 +02:00