perf tools: Fix column width setting on 'trace' sort key
[deliverable/linux.git] / tools / perf / util / hist.c
index 827c6cbcd05de9fd87e160d1f1002854cd6366b2..017eb5c42c37edffc0fb128207c21d40d9ba1587 100644 (file)
@@ -179,6 +179,9 @@ void hists__calc_col_len(struct hists *hists, struct hist_entry *h)
        if (h->transaction)
                hists__new_col_len(hists, HISTC_TRANSACTION,
                                   hist_entry__transaction_len());
+
+       if (h->trace_output)
+               hists__new_col_len(hists, HISTC_TRACE, strlen(h->trace_output));
 }
 
 void hists__output_recalc_col_len(struct hists *hists, int max_rows)
This page took 0.041279 seconds and 5 git commands to generate.