kernel: profiling infrastructure

This commit is contained in:
Matheus
2025-12-05 18:19:42 -03:00
parent d10295dcdf
commit 40bbf217ee
19 changed files with 595 additions and 3 deletions
+4
View File
@@ -49,6 +49,10 @@ static void cpuwakeup(struct limine_smp_info *info) {
timekeeper_init();
#ifdef ENABLE_PROFILING
arch_profiling_init();
#endif
__atomic_add_fetch(&arch_smp_cpusawake, 1, __ATOMIC_SEQ_CST);
sched_ap_entry();
}