Palacios Public Git Repository

To checkout Palacios execute

  git clone http://v3vee.org/palacios/palacios.web/palacios.git
This will give you the master branch. You probably want the devel branch or one of the release branches. To switch to the devel branch, simply execute
  cd palacios
  git checkout --track -b devel origin/devel
The other branches are similar.


gcc-instrumenation added
[palacios.git] / palacios / src / palacios / vmm.c
index 6ef7fa1..8459e4c 100644 (file)
@@ -23,6 +23,7 @@
 #include <palacios/vmm_intr.h>
 #include <palacios/vmm_config.h>
 #include <palacios/vm_guest.h>
+#include <palacios/vmm_instrument.h>
 
 
 v3_cpu_arch_t v3_cpu_type;
@@ -43,7 +44,9 @@ void Init_V3(struct v3_os_hooks * hooks, struct v3_ctrl_ops * vmm_ops) {
 
   v3_cpu_type = V3_INVALID_CPU;
 
-
+       #ifdef INSTRUMENT_VMM
+           v3_init_cyg_profiler();
+       #endif
 
   if (v3_is_svm_capable()) {