hsa: clean up vpp_echo json output
Type: style
@@ -128,6 +128,8 @@ print_global_json_stats (echo_main_t * em)
u8 *end_evt =
format (0, "%U", echo_format_timing_event, em->timing.end_event);
fformat (stdout, "{\n");
+ fformat (stdout, " \"role\": \"%s\",\n",
+ em->i_am_master ? "server" : "client");
fformat (stdout, " \"time\": \"%.9f\",\n", deltat);
fformat (stdout, " \"start_evt\": \"%s\",\n", start_evt);
fformat (stdout, " \"end_evt\": \"%s\",\n", end_evt);
