X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?p=palacios.git;a=blobdiff_plain;f=palacios%2Fsrc%2Fpalacios%2Fvmm_sym_swap.c;h=67a245b46d573b513edb206f695d5cd1b5e19a65;hp=1650c4e2db6b6f7f78bdf9d92ec6bee776a27680;hb=1786dcbd1b5a05d2591556db17bff62465713ee1;hpb=449bf14185a1b3e2db53855b14e0e3ef3a803fd9 diff --git a/palacios/src/palacios/vmm_sym_swap.c b/palacios/src/palacios/vmm_sym_swap.c index 1650c4e..67a245b 100644 --- a/palacios/src/palacios/vmm_sym_swap.c +++ b/palacios/src/palacios/vmm_sym_swap.c @@ -70,13 +70,13 @@ static inline uint32_t get_dev_index(pte32_t * pte) { #ifdef CONFIG_SYMBIOTIC_SWAP_TELEMETRY -static void telemetry_cb(struct guest_info * info, void * private_data) { +static void telemetry_cb(struct guest_info * info, void * private_data, char * hdr) { struct v3_sym_swap_state * swap_state = &(info->swap_state); - V3_Print("Symbiotic Swap:\n"); - V3_Print("\tRead faults=%d\n", swap_state->read_faults); - V3_Print("\tWrite faults=%d\n", swap_state->write_faults); - V3_Print("\tFlushes=%d\n", swap_state->flushes); + V3_Print("%sSymbiotic Swap:\n", hdr); + V3_Print("%s\tRead faults=%d\n", hdr, swap_state->read_faults); + V3_Print("%s\tWrite faults=%d\n", hdr, swap_state->write_faults); + V3_Print("%s\tFlushes=%d\n", hdr, swap_state->flushes); } #endif