@@ -870,14 +870,13 @@ void trace_show_data(struct tracecmd_input *handle, struct tep_record *record)
TEP_PRINT_PID,
TEP_PRINT_CPU);
- if (latency_format) {
- if (raw_format)
- trace_seq_printf(&s, "-0x%x",
- tep_data_flags(pevent, record));
- else
- tep_print_event(pevent, &s, record, "%s",
- TEP_PRINT_LATENCY);
- }
+ if (raw_format)
+ trace_seq_printf(&s, "-0x%x",
+ tep_data_flags(pevent, record));
+ else
+ tep_print_event(pevent, &s, record,
+ latency_format ? "%s" : " %s",
+ TEP_PRINT_LATENCY);
tep_print_event(pevent, &s, record, tfmt, TEP_PRINT_TIME);