zephyr/subsys/debug
Kumar Gala a1195ae39b smp: Move for loops to use arch_num_cpus instead of CONFIG_MP_NUM_CPUS
Change for loops of the form:

for (i = 0; i < CONFIG_MP_NUM_CPUS; i++)
   ...

to

unsigned int num_cpus = arch_num_cpus();
for (i = 0; i < num_cpus; i++)
   ...

We do the call outside of the for loop so that it only happens once,
rather than on every iteration.

Signed-off-by: Kumar Gala <kumar.gala@intel.com>
2022-10-21 13:14:58 +02:00
..
coredump debug: coredump: flash backend: Switch FIXED_PARTITION_ macros 2022-09-06 09:56:37 +02:00
gdbstub debug: gdbstub: Move to DTS for uart device 2022-08-01 09:09:45 -07:00
CMakeLists.txt
Kconfig kernel: Option to assert on spin lock time 2022-10-18 14:14:12 +02:00
asan_hacks.c
gdbstub.c subsys/debug/gdbstub: parse input numbers as unsigned 2022-06-27 12:45:50 +02:00
gdbstub_backend.h
thread_analyzer.c smp: Move for loops to use arch_num_cpus instead of CONFIG_MP_NUM_CPUS 2022-10-21 13:14:58 +02:00
thread_info.c smp: Convert #if to use CONFIG_MP_MAX_NUM_CPUS 2022-10-20 22:04:10 +09:00