X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=palacios%2Finclude%2Fpalacios%2Fvm_guest.h;fp=palacios%2Finclude%2Fpalacios%2Fvm_guest.h;h=bbfc22d77d8a12c2b7e7451b3a9c56d2106e6901;hb=82b8b87c344fcd1eab22e3f3be5ad54cbb3f8f68;hp=eb85d7d9eba114b65ef3be3321e85651465463ba;hpb=d34450b1e6fe3c2e1295c268c1722c669ba8d545;p=palacios.git diff --git a/palacios/include/palacios/vm_guest.h b/palacios/include/palacios/vm_guest.h index eb85d7d..bbfc22d 100644 --- a/palacios/include/palacios/vm_guest.h +++ b/palacios/include/palacios/vm_guest.h @@ -110,8 +110,10 @@ struct v3_segments { struct shadow_page_state; struct v3_intr_state; -struct v3_profiler; +#ifdef CONFIG_PROFILE_VMM +struct v3_profiler; +#endif @@ -167,9 +169,10 @@ struct guest_info { uint64_t yield_start_cycle; - +#ifdef CONFIG_PROFILE_VMM uint_t enable_profiler; struct v3_profiler profiler; +#endif void * decoder_state; };