Adding initial support for performance counters.
[akaros.git] / kern / arch / i686 / smp_boot.c
index 92c9954..ef7ee3c 100644 (file)
@@ -15,6 +15,7 @@
 #include <arch/console.h>
 #include <arch/apic.h>
 #include <arch/bitmask.h>
+#include <arch/perfmon.h>
 #include <timing.h>
 
 #include <atomic.h>
@@ -327,4 +328,6 @@ void smp_percpu_init(void)
         * EXPER_TRADPROC, in line with what sparc does. */
        set_core_timer(TIMER_uSEC);
 #endif
+
+  perfmon_init();
 }