[PATCH 2/4] perf tools: Fix HISTC_MEM_DCACHELINE width setting

From: Jiri Olsa
Date: Wed Jan 20 2016 - 06:57:33 EST


Set correct with for unresolved addr.

Link: http://lkml.kernel.org/n/tip-llh940fx5l1em3au9sse2lss@xxxxxxxxxxxxxx
Signed-off-by: Jiri Olsa <jolsa@xxxxxxxxxx>
---
tools/perf/util/hist.c | 2 ++
1 file changed, 2 insertions(+)

diff --git a/tools/perf/util/hist.c b/tools/perf/util/hist.c
index c226303e3da0..68a7612019dc 100644
--- a/tools/perf/util/hist.c
+++ b/tools/perf/util/hist.c
@@ -131,6 +131,8 @@ void hists__calc_col_len(struct hists *hists, struct hist_entry *h)
symlen = unresolved_col_width + 4 + 2;
hists__new_col_len(hists, HISTC_MEM_DADDR_SYMBOL,
symlen);
+ hists__new_col_len(hists, HISTC_MEM_DCACHELINE,
+ symlen);
}

if (h->mem_info->iaddr.sym) {
--
2.4.3