X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?p=palacios.git;a=blobdiff_plain;f=palacios%2Fsrc%2Fpalacios%2Fvmm_profiler.c;h=02bac1515cd251ae076727a4019356a028fd7347;hp=362b8c939f429549aad37d1322f2b49ab69aa226;hb=2bfd0e9c8aa5d520e4207fd6cf50a5f50993e3ca;hpb=362391accc505b29d938e9d0a21bf6a28a8cee34 diff --git a/palacios/src/palacios/vmm_profiler.c b/palacios/src/palacios/vmm_profiler.c index 362b8c9..02bac15 100644 --- a/palacios/src/palacios/vmm_profiler.c +++ b/palacios/src/palacios/vmm_profiler.c @@ -132,10 +132,13 @@ void v3_print_profile(struct guest_info * info) { do { evt = rb_entry(node, struct exit_event, tree_node); + const char * code_str = vmexit_code_to_str(evt->exit_code); - PrintDebug("%s: Cnt=%u, Time=%u\n", - vmexit_code_to_str(evt->exit_code), + PrintDebug("%s:%sCnt=%u,%sTime=%u\n", + code_str, + (strlen(code_str) > 14) ? "\t" : "\t\t", evt->exit_count, + (evt->exit_count >= 100) ? "\t" : "\t\t", evt->handler_time); } while ((node = v3_rb_next(node)));